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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
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,213,504
Messages
6,114,020
Members
448,543
Latest member
MartinLarkin

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