Comparing rates

Scubabermuda

New Member
Joined
Jun 24, 2011
Messages
14
Good Morning,

Need some assistance hope someone here can help me. I am trying to use Excel to compare the values and generate the least cost for a phone number.

The values in column A may not necessarily match column E or be in order for that matter. They are rates from 2 different vendors. Essentially they are the first 6 digits of a phone number and columns B and F are the rates associated with those codes.

So what I am trying to do here is have excel look at the code in A and its associated price in B - compare it to E and F and give me the the code in H and the best rate for that code in I. Have I totally confused you guys here?

This was worth a shot asking all you gurus here. If you can help me I would really appreciate it.
Untitled-6.jpg
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Excel Workbook
ABCDEFGHI
1CODERATECODERATECODERATE
22010070.008752010070.0098
32010320.013752010320.0122
42010400.005252010400.0049
52012000.00452012000.0042
62012020.0038752012020.0024
72012030.0088752012030.0068
82012040.0061252012040.0048
92012060.0022012060.0016
102012070.0022012070.0016
112012080.0022012080.0016
122012090.0051252012090.0042
132012100.006252012100.0054
142012130.0022012130.0016
152012140.0022012140.0016
162012150.008252012150.007
172012160.0051252012160.0042
182012170.0051252012170.0042
192012180.0022012180.0016
202012190.0038752012190.0024
212012200.0022012200.0016
Sheet1
 
Upvote 0
With a code in H2 try in I2

=MIN(VLOOKUP(H2,A$2:B$21,2,FALSE),VLOOKUP(H2,A$2:B$21,2,FALSE))
 
Upvote 0
Sorry there was an error in my formula

Excel Workbook
ABCDEFGHI
1CODERATECODERATECODERATE
22010070.008752010070.00982010070.00875
32010320.013752010320.01222010320.0122
42010400.005252010400.00492010400.0049
52012000.00452012000.00422012000.0042
62012020.0038752012020.00242012020.0024
72012030.0088752012030.00682012030.0068
82012040.0061252012040.00482012040.0048
92012060.0022012060.00162012060.0016
102012070.0022012070.00162012070.0016
112012080.0022012080.00162012080.0016
122012090.0051252012090.00422012090.0042
132012100.006252012100.00542012100.0054
142012130.0022012130.00162012130.0016
152012140.0022012140.00162012140.0016
162012150.008252012150.0072012150.007
172012160.0051252012160.00422012160.0042
182012170.0051252012170.00422012170.0042
192012180.0022012180.00162012180.0016
202012190.0038752012190.00242012190.0024
212012200.0022012200.00162012200.0016
Sheet4
 
Upvote 0
Still getting NA

Excel Workbook
ABCDEFGHI
1CODERATECODERATECODERATE
22010070.008752010070.0098#N/A
32010320.013752010320.0122
42010400.005252010400.0049
52012000.00452012000.0042
62012020.0038752012020.0024
72012030.0088752012030.0068
82012040.0061252012040.0048
92012060.0022012060.0016
102012070.0022012070.0016
112012080.0022012080.0016
122012090.0051252012090.0042
132012100.006252012100.0054
142012130.0022012130.0016
152012140.0022012140.0016
162012150.008252012150.007
172012160.0051252012160.0042
182012170.0051252012170.0042
192012180.0022012180.0016
202012190.0038752012190.0024
212012200.0022012200.0016
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,334
Members
452,907
Latest member
Roland Deschain

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