• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Select the Correct Rate

John Gibbons

New Member
Good evening. I need some assistance in writing a formula that will select the correct rate based on Rate1 or Rate2 and a specific region. The file is attached. Thank you in advance.
 

Attachments

  • Site Rates_2018.xlsx
    10.5 KB · Views: 4
Formula in H3 and drag down : =IF(G3="","",IF(G3=1,B3,IF(G3=2,C3)))

Formula in J3 and drag down : =IF(I3="","",SUM(H3*I3))
 

Attachments

  • Site Rates_2018.xlsx
    12 KB · Views: 7
Hello Again thank you the answers provided - the formula worked great. Now that I have the formula, I forgot to mention that the formula needs to take into account the randomness of the Region and then assign the correct (Rate 1 or Rate 2) based on the which rate the employee is charging - Rate 1 or Rate 2. I have updated the attached file. Appreciate your efforts in advance.
 

Attachments

  • Site Rates_2018_A.xlsx
    12.5 KB · Views: 7
Hello Again thank you the answers provided - the formula worked great. Now that I have the formula, I forgot to mention that the formula needs to take into account the randomness of the Region and then assign the correct (Rate 1 or Rate 2) based on the which rate the employee is charging - Rate 1 or Rate 2. I have updated the attached file. Appreciate your efforts in advance.

In "LaborCalcs" sheet C2, copied down :

=VLOOKUP(A2,RegionRates,B2+1,0)

Regards
Bosco
 
Back
Top