excel 2007

Bluesword

New Member
Joined
Mar 29, 2009
Messages
47
Can I use the HLOOKUP formula for this...?
C3:AB4 is the data range. C3:AB3 is the top row and C4:AB4 is the bottom row. I want my formula and result in cell U7.
I am using the cells C7:T7 as my data entry range, where I can only enter a single digit uppercase letter. Each letter correspond to a numerical value, ex.,A=6, B=12, C=18 ect,.
If I type ABC, then I should get a value of 36 in cell U7.

I want a formula that will given me the sum of those numbers as stated. How can this be done?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
How about this array formula

=SUM(IF(C7:T7<>"",LOOKUP(C7:T7,C3:AB3,C4:AB4)))
 
Upvote 0
Did you hit control+shift+enter after putting in the formula? That will wrap it in {} which are necessary in the formula xld gave.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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