Nesting IF ISBLANK with AND Function

shaheryar

New Member
Joined
Apr 10, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I'm facing a difficulty to get required results, I have applied the required formula trying to find the solution for specific cell if there is no value then next cell will be empty otherwise it will calculate as per formulated in cell. =IF(AND(($D5+$E5+SUM($G5:$H5)-$F5)=$D5,C5<0),"",($D5+$C5+$E5+SUM($G5:$H5)-$F5))
 

Attachments

  • Nesting IF AND WITH ISBLANK FUNCTION.jpg
    Nesting IF AND WITH ISBLANK FUNCTION.jpg
    86.9 KB · Views: 18

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Welcome to the Board. I'm not sure I follow all of the logic, but have a look at this and let me know if this is what you want to achieve. You can click on the clipboard icon in the upper left (intersection of rows and columns) and then paste into a blank worksheet in cell A1 to try it out.
MrExcel20210409.xlsm
ABCDEFGH
1ValBalCredDebCoCommCuComm
2135000
32100035000
433600050001020
5431030
6531030
763103010005001030
8731570
9831570
Sheet1
Cell Formulas
RangeFormula
D3:D9D3=$D$2+SUM(C$2:C2,E$2:H2)-2*SUM(F$2:F2)
 
Upvote 0
Welcome to the Board. I'm not sure I follow all of the logic, but have a look at this and let me know if this is what you want to achieve. You can click on the clipboard icon in the upper left (intersection of rows and columns) and then paste into a blank worksheet in cell A1 to try it out.
MrExcel20210409.xlsm
ABCDEFGH
1ValBalCredDebCoCommCuComm
2135000
32100035000
433600050001020
5431030
6531030
763103010005001030
8731570
9831570
Sheet1
Cell Formulas
RangeFormula
D3:D9D3=$D$2+SUM(C$2:C2,E$2:H2)-2*SUM(F$2:F2)
Thank you very much.

Also if it is possible to add formula for blank cell, like if there is no data filled in column C,E,F,G,H then the next cells in column D will remain blank until any value will get filled relevent cells.
 
Upvote 0
Like this? This checks the count of cells on the preceding line that contain numbers (in col C, E, F, G, and H)...and if the count is >0, then the sum is displayed.
MrExcel20210409.xlsm
ABCDEFGH
1ValBalCredDebCoCommCuComm
2135000
321000 
433600050001020
5431030
65 
76 10005001030
8731570
98 
Sheet1
Cell Formulas
RangeFormula
D3:D9D3=IF(COUNT(C2,E2:H2)>0,$D$2+SUM(C$2:C2,E$2:H2)-2*SUM(F$2:F2),"")
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

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