earliest date

spig

New Member
Joined
Feb 29, 2008
Messages
17
I currently have a formula reading.....

=IF(COUNT(C10:CW10),INDEX(C$1:CW$1,,MATCH(TRUE,INDEX(ISNUMBER(C10:CW10),0),0)),"")

It read from blank cells C10 to CW10 and date cells C1 to CW1

However, I have had to change the blank cells C10 to CW10 to formulas which returns a zero if criteria not met. Therefore, the earliest date function now reads the 1st entry date due to the formulated cells C10 to CW10

How do I add something to the IF formula above to not read zero's?

Your assistance would be greatly appreciated

Regards
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Try something like this...
=IF(COUNT(C10:CW10),MIN(IF(C10:CW10>0,C1:CW1,"")),"")

This is an array formula. When you enter in this formula, use Ctrl+Shift+Enter. Excel will automatically surround the formula with {braces}.
 
Upvote 0
I currently have a formula reading.....

=IF(COUNT(C10:CW10),INDEX(C$1:CW$1,,MATCH(TRUE,INDEX(ISNUMBER(C10:CW10),0),0)),"")

It read from blank cells C10 to CW10 and date cells C1 to CW1

However, I have had to change the blank cells C10 to CW10 to formulas which returns a zero if criteria not met. Therefore, the earliest date function now reads the 1st entry date due to the formulated cells C10 to CW10

How do I add something to the IF formula above to not read zero's?

Your assistance would be greatly appreciated

Regards
You just need a slight tweak to the formula...

=IF(COUNT(C10:CW10),INDEX(C$1:CW$1,MATCH(TRUE,INDEX(C10:CW10>0,0),0)),"")
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,304
Members
452,904
Latest member
CodeMasterX

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