Column B has two options. Call or Admin. Column D is minutes. "CALL" minutes need to be multiplied by 2.
B3-Call D3- 5
B4-Admin D4-10
Time would be 20 minutes because D3's time is multiplied by 2 because B3 has "CALL" in it.
Column B has two options. Call or Admin. Column D is minutes. "CALL" minutes need to be multiplied by 2.
B3-Call D3- 5
B4-Admin D4-10
Time would be 20 minutes because D3's time is multiplied by 2 because B3 has "CALL" in it.
Try
=SUMPRODUCT((D3:D6)*((B3:B6="Call")*2+(B3:B6="Admin")))
Last edited by JohnTopley; 01-13-2017 at 10:35 AM.
I would just add a helper column in Column E that says:
Formula:
Please Login or Register to view this content.
Then you can just use =SUMPRODUCT for Columns D and E.
Maybe this...
=SUMIF(B:B,"call",D:D)*2+SUMIF(B:B,"<>call",D:D)
Biff
Microsoft MVP Excel
Keep It Simple Stupid
Let's Go Pens. We Want The Cup.
That appears to be PERFECT thank you!
can you help break down what you did there. I understand SUM IF condition B:B=Call then Sum D:D and multiple by 2, but does <> mean not equal? or anything other than?
"<>" is "not equal"
Thank you John.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks