Formula lookup

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
Hi Everyone,

I am looking for a formula to bring back the column header for the first value in a cell. Here is an example:

Customer
12/17/2018
12/18/2018
12/19/2018
12/20/2018
12/21/2018
Customer A

800
800
800
515

<tbody>
</tbody>

My goal is to bring back 12/18 since it is the first cell with a value.

Thanks for your help,

Dastnai
 

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.
Hello

How about an array formula like this? The formula assumes the dates are in ascending order in the range B1:G1 and the values are in the range B2:G2.
{=MIN(IF(ISNUMBER(B2:G2),B1:G1))}

Enter the formula without the curly brackets {} but instead of pressing enter, press Ctrl+Shift+Enter at the same time. You will know you have done this correctly when the curly brackets {} appear in the formula.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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