ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   If function (https://www.excelbanter.com/excel-discussion-misc-queries/28207-if-function.html)

Noob_power1242

If function
 
I want to make a if then statment like (in VB format) If F4.text= true then
caculate sum of F4,G5. If F4.text= False then G7.text= "" (blank)

I was messing around trying to make a checkbook program and when I would
apply the equastion to the G column it would display the last number
calulated in the cell above it down the entire column. I would like to make
it to where it will only calulate the equation only if there is text in the
proper cells.

Bob Phillips

I think you want

=IF(ISNUMBER(F4),F4+G5,"")

--
HTH

Bob Phillips

"Noob_power1242" wrote in message
...
I want to make a if then statment like (in VB format) If F4.text= true

then
caculate sum of F4,G5. If F4.text= False then G7.text= "" (blank)

I was messing around trying to make a checkbook program and when I would
apply the equastion to the G column it would display the last number
calulated in the cell above it down the entire column. I would like to

make
it to where it will only calulate the equation only if there is text in

the
proper cells.





All times are GMT +1. The time now is 02:29 PM.

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