Formula Help - Finding the Next Blank Cell and choosing that row instead

NathanStadig

New Member
Joined
Feb 24, 2011
Messages
19
I have a dilemma.

I made the following formula:

=IF(AND(Table2[[#This Row],[SSN]]=F2,U2<>"",(U2<<TABLE2[[#THIS Visit]]="" 1st of Row],[Date ,?No?,IF(AND(Table2[[#This A?,IF(Table2[[#This ),?N Row],[Monitor]]="No" ,Table2[[#This A?,IF(OR(Table2[[#This Date]]+7)),?N Row],[Discharge>(Table2[[#This Row],[Discharge Date]]),Table2[[#This Row],[Date of 1st Visit]]<(Table2[[#This Row],[Discharge Date]]+7.1)),"Yes","No"))))

The problem that occured was that if cell U* is blank, I need it to go to the next Non-Blank cell above it and return that data into the formula only if the cells in Column F (SSN) match.

Is this possible?
 
Last edited:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
This doesn't seem to work, what am I doing wrong?

I need it if SSN's match and U is Not-blank and if U < (The Previous Non-Blank Cell+7) then "N/A"


=IF(AND(Table2[[#This Row],[SSN]]=F21,U21<>"",(U21<LOOKUP(9.9E+307,X:X)+7)),"N/A",IF(OR(Table2[[#This Row],[Monitor]]="No",Table2[[#This Row],[Monitor]]=""),"N/A",IF(Table2[[#This Row],[Date of 1st Visit]]="","No",IF(AND(Table2[[#This Row],[Date of 1st Visit]]>(Table2[[#This Row],[Discharge Date]]),Table2[[#This Row],[Date of 1st Visit]]<(Table2[[#This Row],[Discharge Date]]+7.1)),"Yes","No"))))
<?XML:NAMESPACE PREFIX = LOOKUP(9.9E+307,X /><LOOKUP(9.9E+307,X:X)+7)),"N A?,IF(OR(Table2[[#This ,Table2[[#This Row],[Monitor]]="No" ),?N A?,IF(Table2[[#This ,?No?,IF(AND(Table2[[#This Row],[Date of 1st Visit]]=""></LOOKUP(9.9E+307,X:X)+7)),"N>
 
Last edited:
Upvote 0
"=IF(AND(Table2[[#This Row],[SSN]]=F21,U21<>"",(U21<LOOKUP(9.9E+307,X:X)+7)),"N/A",IF(OR(Table2[[#This Row],[Monitor]]="No",Table2[[#This Row],[Monitor]]=""),"N/A",IF(Table2[[#This Row],[Date of 1st Visit]]="","No",IF(AND(Table2[[#This Row],[Date of 1st Visit]]>(Table2[[#This Row],[Discharge Date]]),Table2[[#This Row],[Date of 1st Visit]]<(Table2[[#This Row],[Discharge Date]]+7.1)),"Yes","No"))))"
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,853
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top