Complicated IF SUM help

Mrfester

New Member
Joined
Jan 4, 2022
Messages
9
Office Version
  1. 2021
Platform
  1. Windows
Hi

More help needed please, I want to run and if function in cell U7 it needs to add cells F7, G7 minuses from that cells H7,I7,T7 and if the result of the sum is more than cell I7 I want it to show a 0 in cell U7 if the sum is less than the result of the sum is less than the value of cell I7 I want to show the total of the sum as an absolute value.

I have spent hours and am getting knowhere I would really appreciate some help please.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Can you post some sample data, along with expected results.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
I cab get it to return 0 if the result of the sum is more than cell i7 I am just struggling with getting it to show the result of the sum if the result is less than i7
 
Upvote 0
Edit the following for your requirements

T202211a.xlsm
FGHIJTU
7102025100
81022101010
9
1a
Cell Formulas
RangeFormula
U7:U8U7=LET(a,F7+G7-H7-I7-T7,IF(a>F7,0,ABS(a)))
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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