Formula Which Returns Horizontal Field Names

syedbokhari

Board Regular
Joined
Aug 19, 2013
Messages
94
Hey Chaps

I've miss the boards

I am having trouble developing a formula which will return a field (specific cells back to me) based on some conditions.

Basically I want a formula which will return the date (G3-T3) to me on each client. On the conditions of there usage.

So I want it to extract the value of the first number to comes across (the value of the number does not matter).

E.g. Gissle (D5) "The formula should go along and provide me with the date (value) "1/7/2013" [Cell I3) in cell [E5).

It just needs to hit the first value it comes across horizontally and provide me with the date (field) which it is located in Column E (E5-E11).

All help is UBER appreciated as I need this to solve a problem and save at work because I had to manually scope out the first value and insert and copy the date (took an hour).

I hope it is possible

And thanks again Chap!



Excel Workbook
DEFGHIJKLMNOPQRST
2***Usage*************
3*Date*1/5/20131/6/20131/7/20131/8/20131/9/20131/10/20131/11/20131/12/20131/13/20131/14/20131/15/20131/16/20131/17/20131/18/2013
4Client*************8**
5Giselle*********5******
6Elaine******4*********
7Lidi**4*************
8Eliza****************
9Ji***************4
10Erika****1***********
11Maria********5*******
12*****************
Sheet1


4 </a>
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Sorry my example is wrong!

For Gissle (D5) "The formula should go along and provide me with the date (value) "1/12/2013" [Cell N3) in cell [E5).
 
Upvote 0
Try

E5
=IF(COUNT($G5:$T5),INDEX($G$3:$T$3,MATCH(TRUE,INDEX(ISNUMBER($G5:$T5),0),0)),"Not found")
copy down

M.
 
Last edited:
Upvote 0
Hi,

Try this (if i understand correctly)
Cell E5

=IFERROR(INDEX($G$3:$T$3,MATCH(TRUE,ISNUMBER(G5:T5),0)),"")

CTRL+SHIFT+ENTER
 
Upvote 0
Thanks guys!

It worked well! I would like to donate to a charity on your behalf!

If you have one PM ME and by all means I will donate 10-15 dollars to it :) as it helped so much!
 
Upvote 0

Forum statistics

Threads
1,215,150
Messages
6,123,312
Members
449,094
Latest member
Chestertim

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