Formula Help

Travisallen2007

New Member
Joined
Jan 21, 2018
Messages
30
Office Version
  1. 365
I have two tables and need Table A (Which is changeable) To source its data off table B. I am not sure how to set this up and any help would be greatly appreciated.

Table A
A23:A31 is changable Word corresponding to cash amounts. Drop down based on table at E53:F60 (Also now called table B)
B23:B31 Is where the user types in quantities of the dollars they have
C23:C31 is where i need it to calculate to dollar value from Table B associated with the choice they selected in A23:A31 multiplied by B23:B31

Table B:
E53:E60 is the titles of the drop downs that will be selectable for A23:A31 (With one exception listed below)
F53:F60 is the dollar amounts that need to be used based on the selection chosen in table A A23:A31 and later used to multiply showing total dollar amount in cells C23:C31

The only exception to this is for pennies, nickels, dimes and Qtrs that never change. Pennies are always .50, Nickels always 2, dimes always 5, and quarters always 10.

Thanks again for any help!! Really appreciate it!
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi & welcome to MrExcel.
What version of Excel are you using?
 
Upvote 0
Ok, thanks for that, can you add the values for Dimes,Quarters etc to your table in E53?
If so you could use
=B23*IFERROR(VLOOKUP(A23,$E$53:$F$60,2,0),0)
 
Upvote 0
This works well - was trying to avoid adding lines due to space but i will be able to scrunch this in!

Thanks for the help!
 
Upvote 0
You would prefer not to include them, you could use
=B3*IFERROR(VLOOKUP(A23,$E$53:$F$60,2,0),LOOKUP(A23,{"Dimes","Nickels","Pennies","Quarters"},{5,2,0.5,10}))
 
Upvote 0
Ac
This works well - was trying to avoid adding lines due to space but i will be able to scrunch this in!

Thanks for the help!


Actually just noticed the compatibility error - This will need to function on office 2007 as well. It is looking like that fix wont be compatible.
 
Upvote 0
In that case try

=B23*IF(ISERROR(VLOOKUP(A23,$E$53:$F$60,2,0),0,VLOOKUP(A23,$E$53:$F$60,2,0))
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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