vlookup rates without table , need formula

makinmomb

Active Member
Joined
Dec 23, 2013
Messages
401
GOMA 480000 250000
KASUMBALESA 480000 250000
KITWE 420000 200000
LUBUMBASHI 480000 250000
LUSAKA 420000 200000
NDOLA 420000 200000

These is the table of rates

I need one formula two pick those rates on b1 and c1 where a1 is location
I dont need this table anywhere else , i need one formula to take
that table , some kind of multipe if lookup
 
Last edited:
I am using excel 2013 , anyone can guess which separator will work , i don't know how
to determine through code


Enter say in X2

=

then select the table you posted, then

hit F9. And delete = from what you see.

You can copy the result of these actions and plug in the VLOOKUP formulas I already suggested.

If done successfully, you can delete the table you have if it is convenient to do so.
 
Last edited:
Upvote 0

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Can anyone do me a macro on this , I am wasting time on the formula and cant make it work

Last effort...


Book1
ABCDE
1GOMA480000250000
2KITWE420000KASUMBALESA480000250000
3KITWE420000200000
4LUBUMBASHI480000250000
5LUSAKA420000200000
6NDOLA420000200000
Sheet1


In B2 enter:

=VLOOKUP(A2,$C$1:$E$6,2,0)

Now go to the formula on the formula bar, select the $C$1:$E$6 bit, hit F9 followed by enter.

The formula has now a hardcoded table as you wanted. Once done, you can delete C1:E6.

Good luck.
 
Upvote 0
I need one without table search , if this is this then this , if this cell is this one then this and so on ,
like that grade system a b c and d
 
Upvote 0
If argument to contain this logic , if cell A1 is goma then 480000 and if kasum... then 480000 , and so on ,
i dont want it a go look a table , i want it do do within one formula

[TABLE="width: 128"]
<tbody>[TR]
[TD="width: 64"]GOMA[/TD]
[TD="width: 64, align: right"]480000[/TD]
[/TR]
[TR]
[TD]KASUMBALESA[/TD]
[TD="align: right"]480000[/TD]
[/TR]
[TR]
[TD]KITWE[/TD]
[TD="align: right"]420000[/TD]
[/TR]
[TR]
[TD]LUBUMBASHI[/TD]
[TD="align: right"]480000[/TD]
[/TR]
[TR]
[TD]LUSAKA[/TD]
[TD="align: right"]420000[/TD]
[/TR]
[TR]
[TD]NDOLA[/TD]
[TD="align: right"]420000[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0
Did you try my suggestion in the post above #9 ?

What Country are you in? What are the Regional Settings for your computer?
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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