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: 6

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Perhaps:

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

Forum statistics

Threads
1,215,365
Messages
6,124,511
Members
449,166
Latest member
hokjock

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