HLOOKUP

j4ymf

Well-known Member
Joined
Apr 28, 2003
Messages
776
Office Version
  1. 365
Platform
  1. Windows
Hello All

N10 = Construction
VBA Code:
=HLOOKUP(N10,Data!$C$1:$CW$2,2,FALSE)

this code returnes the value of 11
how would i write a formula to find "Construction" and 1 column?

and the values would be
+1 = 12
+2 = 13
+3 = 14

many thanks

1736106823564.png
 
Last edited:

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
How about
Excel Formula:
=INDEX(Data!$C$2:$CW$2,XMATCH("construction",Data!$C$1:$CW$1)+1)
 
Upvote 0
Solution
Hello Fluff

Once again you are my saviour thank you .
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,225,767
Messages
6,186,911
Members
453,386
Latest member
testmaster

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