Is a SUM then IF function doable?

GPenrod

New Member
Joined
Jan 10, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Good afternoon,

I don't need to use a SUMIF based on a cell value, I need the cell to calculate the SUM of cells then apply an IF function to make it match another cell. In the provided picture I need F10 to SUM F3:F9 (which it is doing) but then I need an additional formula that if F10 is greater than G10 then it will change F10 to equal G10. If F10 is less than G10 then don't change it. Maybe there's an easier or different function to be used for this and I'm over complicating it.

Thanks for any help/suggestions you can provide.
 

Attachments

  • Excel Snippet.png
    Excel Snippet.png
    3.3 KB · Views: 7

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Perhaps:

Excel Formula:
=MIN(G10,SUM(F3:F9))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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