Imported data, cell looks blank but is not??

cvansickle

New Member
Joined
Jan 23, 2008
Messages
7
Hello all, and thanks in advance...

I have a small excel sheet that I am importing from Microsoft access..

There are 10 feild that show the last amount someone paid. What I want to do is find which cell that is.. (If there were only 2 payments the 2 fields would have data and the other 8 blank)

My formula is:

=IF(AN2>0,10,IF(AM2>0,9,IF(AL2>0,8,IF(AK2>0,7,IF(AJ2>0,6,IF(AI2>0,5,IF(AH2>0,4,IF(AG2>0,3,IF(AF2>0,2,IF(AE2>0,1,0))))))))))

The problem I am having is, that although the cell looks empty, there must me something in there that is showing a vaule. I even tried a ISBLANK() but it comes back false.

Any ideas on how I skip over that cell unless there is a true vaule?

Thanks again..
 
Not tested, but I think something like this should work
Code:
=INDEX(A1:J1,MATCH(HLOOKUP("zzz",A1:J1,1,TRUE),A1:J1,0))
 
Upvote 0

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,225,157
Messages
6,183,250
Members
453,152
Latest member
ChrisMd

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