Forum Discussion
TKIng1917
May 16, 2023Copper Contributor
Complex validation
I need to return a blank cell (in MERP) if A1 has a name, and if it has a number, to use the name in A1 until a new name is encountered. Currently, the formula in the MERP column is =IF((ISTEXT(A1))=TRUE," ",$A$1), but the absolute reference only returns the value in A1. I need to go down A1 until a new name is encountered and use that name. I'm not very good with complex formulas, so any assistance is appreciated.
NAME | Sum of Debit | Sum of Credit | Test Debit | Test Credit | MERP Name |
Ford, Henry | 1925.77 | 293.45 | 1,925.77 | 293.45 | |
22100 | 229.44 | 229.44 | 229.44 | 229.44 | Ford, Henry |
22102 | 9 | 9 | 9.00 | 9.00 | Ford, Henry |
22103 | 46.01 | 46.01 | 46.01 | 46.01 | Ford, Henry |
22104 | 9 | 9 | 9.00 | 9.00 | Ford, Henry |
51041 | 1499.6 | 1,499.60 | - | Ford, Henry | |
51042 | 132.72 | 132.72 | - | Ford, Henry | |
Presley, Elvis | 3349.53 | 686.23 | 3,349.53 | 686.23 | |
21160 | 27.53 | - | 27.53 | Ford, Henry |
- Subodh_Tiwari_sktneerSilver Contributor
You may try this...
In F2...
=IF(NOT(ISNUMBER(A2)),"",INDEX(A$2:A2,,MATCH("ZZZ",A$2:A2)))
and then copy it down.