Additional argument

CVN55

New Member
Joined
Jun 14, 2017
Messages
29
Hi
I have this formula:
=IF(SUMMARY!$E$32="INV",SUMPRODUCT($J$9:$J$15,M9:M15)/60*1.3,SUMPRODUCT($J$9:$J$15,M9:M15)/60)
I know want to add in an extra formula to say that if $E$32 ="EU ",SUMPRODUCT($J$9:$J$15,M9:M15)/60*1.25

So basically 3 arguments/criteria:
If a certain cell says "INV" I want the sumproduct of 2 rows multiplied by 30% (in minutes, hence the /60)
If a certain cell says "EU " I want the sumproduct of 2 rows multiplied by 25%
If neither of these, then I want the sumproduct of 2 rows multiplied

Can anyone help me add this third argument please to the formula?

Cheers
Catherine
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Re: Addiional argument

Hi
I have this formula:
=IF(SUMMARY!$E$32="INV",SUMPRODUCT($J$9:$J$15,M9:M15)/60*1.3,SUMPRODUCT($J$9:$J$15,M9:M15)/60)
I know want to add in an extra formula to say that if $E$32 ="EU ",SUMPRODUCT($J$9:$J$15,M9:M15)/60*1.25

So basically 3 arguments/criteria:
If a certain cell says "INV" I want the sumproduct of 2 rows multiplied by 30% (in minutes, hence the /60)
If a certain cell says "EU " I want the sumproduct of 2 rows multiplied by 25%
If neither of these, then I want the sumproduct of 2 rows multiplied

Can anyone help me add this third argument please to the formula?

Cheers
Catherine

Hi!

Maybe the formula below can helps.

=SUMPRODUCT($J$9:$J$15,M9:M15)/60*IFERROR(VLOOKUP(SUMMARY!$E$32,{"INV",1.3;"EU ",1.25},2,0),1)<strike>
</strike>

Markmzz
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,186
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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