Help with IFS statement

Sirod

New Member
Joined
Aug 6, 2009
Messages
47
Hello,
I'm working on a commission table and need help with an IFS statement. Below is a sample table.

In column F I want to add a calculation:
  • For full-time employees, if the amount paid is less than the salary rate, the salary rate should be listed, otherwise the amount paid should be listed.
  • For part-time employees, if the amount paid is less than the salary rate, I want to list $50,000, otherwise the amount paid should be listed.
I started with =(D4<E4, E4,D4), but I'm struggled with how to revise the formula to add the full-time/part-time condition, as well as to pull in a separate amount for part-time if the payment is less than the salary rate.

Thanks.

1685369850235.png
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
How about
Excel Formula:
=IF(D2<E2,IF(A2="full-time",E2,50000),D2)
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Assuming that you have 365
Book1.xlsm
ABCDEFG
1Full—
2time/Part-IDNamePaidSalary RateColumn
3Full-time12345Sales Rep A$86,854.41$81,831.29$86,854.41
4Full-time12346Sales Rep B$64,955.14$70,795.22$70,795.22
5Full-time12347Sales Rep C$25,946.12$76,958.98$76,958.98
6Full-time12348Sales Rep D$39,190.62$82,516.15$82,516.15
7Part-time12349Sales Rep E$105,383.32$100,518_25$105,383.32
8Part-time12350sales Rep F$74,130.93$100,518_25$74,130.93
9Part-time12351Sales Rep G$46,192 65$92,906.49$50,000
10Part-time12352Sales Rep h$91,513.49$99,070.25$50,000
11
Sheet5
Cell Formulas
RangeFormula
F3:F10F3=IFS(AND(A3="Full-time",D3<E3),E3,AND(A3="Full-time",D3>E3),D3,AND(A3="Part-time",D3<E3),"$50,000",TRUE,D3)
 
Upvote 0

Forum statistics

Threads
1,215,137
Messages
6,123,254
Members
449,093
Latest member
Vincent Khandagale

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