ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   If function (https://www.excelbanter.com/excel-worksheet-functions/84626-if-function.html)

Yvonne

If function
 
Please help; I have an IF Function that contains a formula if "true". I am
trying to use the if "true" answer in another formula. Can this be done?
1st IF Function (in cell F5): =IF((C41),SUM(C4-D5),"")
2nd Formula(in cell H5): =sum(h4+F5)
The sum(C4-C5) in cell F5 needs to be added to H4. Can this be done?

daddylonglegs

If function
 

That's certainly feasible but you probably only need

in F5

=IF(C41,C4-D5,"")

and in H5

=SUM(H4,F5)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=535226


Yvonne

If function
 
WOW! That worked great. I guess I was trying to make it to complicated.
What if I wanted the value in H5 to show if there is a value in F5? Your
good;) Thank you!

"daddylonglegs" wrote:


That's certainly feasible but you probably only need

in F5

=IF(C41,C4-D5,"")

and in H5

=SUM(H4,F5)


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=535226




All times are GMT +1. The time now is 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com