I need help finding the value of the last non blank cell in the range (CO40:DB40). These cells do have formulas in them. Some cells may have zero (0) values. If cells (CO40:DB40) are all blank, than I'd like the answer to be zero (0). Thanks!
The cells are not formula driven. I realize now that I made an error in my orig post. Correction: I enter number amounts in them (i.e. 3,000.00) as needed, and there are no formulas in them.Are all of the cells formula-driven, or just some? Do the formulas return blanks ("") or 0s?
A small example would help us to understand what we're dealing with.
Matty
The cells are not formula driven. I realize now that I made an error in my orig post. Correction: I enter number amounts in them (i.e. 3,000.00) as needed, and there are no formulas in them.
Will the range only ever contain numbers? Or could letters (text) be in there, too?
It works like a charm Matty. Thank you ever so much! One more question please Matty. When I later go to use this spreadsheet on my other laptop w/ MS Excel 2013, I know it will convert from xls to xlsx. When that happens, will there be an issue with this formula?Try:
Code:=IF(COUNT(CO40:DB40),LOOKUP(9.99999999999999E+307,CO40:DB40),0)
Matty
It works like a charm Matty. Thank you ever so much!
One more question please Matty. When I later go to use this spreadsheet on my other laptop w/ MS Excel 2013, I know it will convert from xls to xlsx. When that happens, will there be an issue with this formula?
No problem.
The formula should work on all Excel versions.
Matty
One more question please Matty...is there any way to alter the formula so that the cell value returned is blank instead of showing zeroes?
Change the last 0 to "".
Matty
I did that before I asked. Still returned 0.00