Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi All,
I would like to find the LAST NonBlank TEXT Cell in a Row and subtract the Column number of the Cell from the total number of Columns in the Row. Or, if feasible to Count back from the LAST Column in my data Range - Column "L" and SUM the Count of Blank Cells to the very FIRST NonBlank Cell in each Row. Counting from Right to Left? The Expected Results below is the value required for each Row. Or, a more suitable calculation/Formula to provide the Expected Results below. The Row consists of 10 Columns - from "C" to "L", first Row is Row 5. The individual Cells either house an "x" or is blank (empty). My data Range: 1st Column = "C" 2nd Column = "D" 3rd Column = "E" 4th Column = "F" 5th Column = "G" 6th Column = "H" 7th Column = "I" 8th Column = "J" 9th Column = "K" 10th Column= "L" (LAST Column) Data: Row5 "x" in Column C, G, H Row6 "x" in Column K, L Row7 "x" in Column K Row8 "x" in Column G Row9 "x" in Column L Row10"x" in Column C Row11"x" in Column C, G, I Row12"x" in Column - (no x's in this Row) Calculation Required: Find last NonBlank Cell in each Row, then subtract that cells Column Number from Last Column Number in data Range. Row5 = Column L (10) minus Column H (6) = 4 Row6 = Column L (10) minus Column L (10)= 0 Row7 = Column L (10) minus Column K (9) = 1 Row12= Column L (10) minus Column ? = 10 (no x's in this Row) Expected Results (Returned in Column "O" relevant Row Number): Row5 = 4 Row6 = 0 Row7 = 1 Row8 = 5 Row9 = 0 Row10= 9 Row11= 3 Row12=10 Assistance very much appreciated. Regards, Sam -- Message posted via http://www.officekb.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
"count if" function based on value of another cell | Excel Worksheet Functions | |||
I want to return "0" based on another cell | Excel Worksheet Functions | |||
formula to return the value of a cell based on a looked up true reference | Excel Worksheet Functions | |||
How to make a cell return the formatted value in a text string (i. | Excel Worksheet Functions | |||
Can vlookup return multiple matches in a single cell? | Excel Discussion (Misc queries) |