Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
The following formula returns the row number
=IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Gotroots wrote:
The following formula returns the row number =IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you Do you mean this: =IF(INDIRECT("D"&ROW(IV4))="No record",ROW(),"") |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hello guys,
Sorry, but neither solutions worked. Perhaps it's to do with the fact that the values in "D" are the result of a relative formula "Glenn" wrote: Gotroots wrote: The following formula returns the row number =IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you Do you mean this: =IF(INDIRECT("D"&ROW(IV4))="No record",ROW(),"") . |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
If you mean both the conditions then try
=IF(AND(INDIRECT("A"&ROW(IV4))="",INDIRECT("D"&ROW (IV4))="No record"),"",ROW()) -- Jacob "Gotroots" wrote: Hello guys, Sorry, but neither solutions worked. Perhaps it's to do with the fact that the values in "D" are the result of a relative formula "Glenn" wrote: Gotroots wrote: The following formula returns the row number =IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you Do you mean this: =IF(INDIRECT("D"&ROW(IV4))="No record",ROW(),"") . |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Actually, Glenn's solution was successful after all, typo error on my part.
Thank you all for contributing. "Jacob Skaria" wrote: If you mean both the conditions then try =IF(AND(INDIRECT("A"&ROW(IV4))="",INDIRECT("D"&ROW (IV4))="No record"),"",ROW()) -- Jacob "Gotroots" wrote: Hello guys, Sorry, but neither solutions worked. Perhaps it's to do with the fact that the values in "D" are the result of a relative formula "Glenn" wrote: Gotroots wrote: The following formula returns the row number =IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you Do you mean this: =IF(INDIRECT("D"&ROW(IV4))="No record",ROW(),"") . |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
you can nest your if statement like this
=IF(INDIRECT("A"&ROW(IV4))="","",IF(INDIRECT("A"&R OW(IV4))="D",ROW(),"")) -- If this helps, please remember to click yes. "Gotroots" wrote: The following formula returns the row number =IF(INDIRECT("A"&ROW(IV4))="","",ROW()) I want it now to only return a result if "D" contains the value "No record" Thank you |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
result if a condition is NOT true? | Excel Worksheet Functions | |||
excel result return wrong calcuation result | Excel Worksheet Functions | |||
excel result return wrong calcuation result | Excel Worksheet Functions | |||
excel result return wrong calcuation result | Excel Worksheet Functions | |||
Advanced formula - Return result & Show Cell Reference of result | Excel Worksheet Functions |