If a value of a range in column B equals a range of values in column J, then multiply F by K and fill Column G

mcjohnson3211

New Member
Joined
Sep 6, 2023
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Here is my example. I'm trying to fill in column G. I hope this makes sense.

Team RoleDateHoursHour Fee
Campaign Manager
8/1/2023​
0.5​
$-Team RoleHourly Rate
Campaign Manager
8/2/2023​
3​
$-Account Director
$185​
Campaign Manager
8/3/2023​
1.25​
$-Account Manager
$150​
Campaign Manager
8/3/2023​
2​
$-Delivery Manager
$175​
Campaign Manager
8/4/2023​
1.5​
$-Client Delivery Analyst
$150​
Campaign Manager
8/7/2023​
0.75​
$-Campaign Manager
$100​
Campaign Manager
8/8/2023​
1.5​
$-Content Developer
$100​
Solutions Architect/ Manager/ BSA
8/10/2023​
1​
$-Client Engineer
$200​
Campaign Manager
8/10/2023​
1​
$-Program Engineer/ Developer
$200​
Campaign Manager
8/14/2023​
1.5​
$-Strategist
$200​
Solutions Architect/ Manager/ BSA
8/16/2023​
0.5​
$-Solutions Architect/ Manager/ BSA
$175​
Delivery Manager
8/17/2023​
2.25​
$-Project Manager
$175​
Solutions Architect/ Manager/ BSA
8/17/2023​
0.25​
$-Creative (Copywriter, Art Director, Designer)
$185​
Delivery Manager
8/18/2023​
4​
$-
Account Manager
8/21/2023​
0.5​
$-
Account Manager
8/21/2023​
0.5​
$-
Account Manager
8/21/2023​
1​
$-
Account Director
8/21/2023​
2.25​
$-
Delivery Manager
8/21/2023​
3​
$-
Client Delivery Analyst
8/21/2023​
1.75​
$-
Account Manager
8/22/2023​
1​
$-
Account Manager
8/22/2023​
0.5​
$-
Account Director
8/22/2023​
1.5​
$-
Delivery Manager
8/22/2023​
3​
$-
Client Delivery Analyst
8/22/2023​
1.25​
$-
Delivery Manager
8/23/2023​
3​
$-
Campaign Manager
8/23/2023​
1​
$-
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Here is my example. I'm trying to fill in column G. I hope this makes sense.

Team RoleDateHoursHour Fee
Campaign Manager
8/1/2023​
0.5​
$-Team RoleHourly Rate
Campaign Manager
8/2/2023​
3​
$-Account Director
$185​
Campaign Manager
8/3/2023​
1.25​
$-Account Manager
$150​
Campaign Manager
8/3/2023​
2​
$-Delivery Manager
$175​
Campaign Manager
8/4/2023​
1.5​
$-Client Delivery Analyst
$150​
Campaign Manager
8/7/2023​
0.75​
$-Campaign Manager
$100​
Campaign Manager
8/8/2023​
1.5​
$-Content Developer
$100​
Solutions Architect/ Manager/ BSA
8/10/2023​
1​
$-Client Engineer
$200​
Campaign Manager
8/10/2023​
1​
$-Program Engineer/ Developer
$200​
Campaign Manager
8/14/2023​
1.5​
$-Strategist
$200​
Solutions Architect/ Manager/ BSA
8/16/2023​
0.5​
$-Solutions Architect/ Manager/ BSA
$175​
Delivery Manager
8/17/2023​
2.25​
$-Project Manager
$175​
Solutions Architect/ Manager/ BSA
8/17/2023​
0.25​
$-Creative (Copywriter, Art Director, Designer)
$185​
Delivery Manager
8/18/2023​
4​
$-
Account Manager
8/21/2023​
0.5​
$-
Account Manager
8/21/2023​
0.5​
$-
Account Manager
8/21/2023​
1​
$-
Account Director
8/21/2023​
2.25​
$-
Delivery Manager
8/21/2023​
3​
$-
Client Delivery Analyst
8/21/2023​
1.75​
$-
Account Manager
8/22/2023​
1​
$-
Account Manager
8/22/2023​
0.5​
$-
Account Director
8/22/2023​
1.5​
$-
Delivery Manager
8/22/2023​
3​
$-
Client Delivery Analyst
8/22/2023​
1.25​
$-
Delivery Manager
8/23/2023​
3​
$-
Campaign Manager
8/23/2023​
1​
$-
Here is a screenshot if that helps. Thanks in advance.
 

Attachments

  • chrome_YvS7spRFoM.png
    chrome_YvS7spRFoM.png
    82.2 KB · Views: 7
Upvote 0
Welcome to the Board!

You should be able to use a simple VLOOKUP formula to look up the rate from your table, and mulitply it by the hours, if that is what you want to do i.e.
formula to put in G2:
Excel Formula:
=VLOOKUP(B2,$J$3:$K$14,2,0)*F2
and copy down for all rows.
 
Upvote 0
Solution
Welcome to the Board!

You should be able to use a simple VLOOKUP formula to look up the rate from your table, and mulitply it by the hours, if that is what you want to do i.e.
formula to put in G2:
Excel Formula:
=VLOOKUP(B2,$J$3:$K$14,2,0)*F2
and copy down for all rows.
Awesome! That worked! I did a basic =IF(B2=J$7,F2*K$7,"") , but I couldn't copy it down to the rest of the rows. Which meant it wasn't scalable. Yours is got the same result but can copy it down!!! Thank you. I didn't even think of a VLOOKUP.
 
Upvote 0
You are welcome.
Glad I was able to help!
 
Upvote 0
Awesome! That worked!
The marked solution has been changed accordingly. In your future questions, please mark the post as the solution that actually answered your question, instead of your feedback message as it will help future readers. No further action is required for this thread.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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