Pulling data from another sheet for codes

Jeffer_2

New Member
Joined
Dec 9, 2020
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Hello,

I am looking to create an excel sheet to keep track of some billing.

I basically have this set up for each day I work, where in column A I would enter a code, column B I would enter the number of times to bill that code.
Then I would like column C to auto pull the rate for the code from a master code sheet.
I would then multiple B and C for a total in column D (I already have that formula completed).

This is what I have set up for the daily sheet with an example of the data I would put in:
Screen Shot 2020-12-09 at 3.55.32 PM.png


The master code sheet would look like this:
Screen Shot 2020-12-09 at 3.56.39 PM.png


What would the formula look like to put in column C of the daily sheet?

Thanks so much in advance for your help.

Jeff
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
56,910
Office Version
  1. 365
Platform
  1. Windows
Welcome to the Board!

Use VLOOKUP, as shown here, to pull your rate from the other sheet.
 

GlennJ

New Member
Joined
Mar 26, 2018
Messages
42
Office Version
  1. 2016
Platform
  1. Windows
try this. change the A2:B18 to as big as you need it and change 'master code sheet' to your sheet name that contains your rates.

=VLOOKUP(A2,'master code sheet'!A2:B18,2,FALSE)
 
Solution

Jeffer_2

New Member
Joined
Dec 9, 2020
Messages
2
Office Version
  1. 365
Platform
  1. MacOS
Perfect! Got it to work, thanks so much for your help!
 

Watch MrExcel Video

Forum statistics

Threads
1,129,373
Messages
5,635,884
Members
416,886
Latest member
coreyalaurence37

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
Top