Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 11
Cool Keeping cells blank even though formula is input

I have the following formula in my work sheet in cell U1237
=IF(K1237=2,(U1236+1.3),IF(K1237<=1,U1236+1)) however when I drag this formula down it calculates blank cells as a 0 and returns a figure. How do I keep the below cells blank whilst keeping the formula. When I try the Isblank method I just get an error saying too many arguments. Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 259
Default Keeping cells blank even though formula is input

On 24/07/2012 6:54 PM, Bootface wrote:
I have the following formula in my work sheet in cell U1237
=IF(K1237=2,(U1236+1.3),IF(K1237<=1,U1236+1)) however when I drag this
formula down it calculates blank cells as a 0 and returns a figure. How
do I keep the below cells blank whilst keeping the formula. When I try
the Isblank method I just get an error saying too many arguments. Thanks




Hi

=IF(K1237="","",IF(K1237=2,(U1236+1.3),IF(K1237<= 1,U1236+1)))

HTH
Mick.
  #3   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Bootface View Post
I have the following formula in my work sheet in cell U1237
=IF(K1237=2,(U1236+1.3),IF(K1237<=1,U1236+1)) however when I drag this formula down it calculates blank cells as a 0 and returns a figure. How do I keep the below cells blank whilst keeping the formula. When I try the Isblank method I just get an error saying too many arguments. Thanks
How about:

=IF(K1237="","",IF(K1237=2,(U1236+1.3),IF(K1237<= 1,U1236+1)))


Does that do what you're after?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 829
Default Keeping cells blank even though formula is input

"Bootface" wrote:
I have the following formula in my work sheet in cell U1237
=IF(K1237=2,(U1236+1.3),IF(K1237<=1,U1236+1))
however when I drag this formula down it calculates blank
cells as a 0 and returns a figure. How do I keep the below
cells blank whilst keeping the formula.


I presume K1237 is never between 1 and 2, e.g. 1.5. Otherwise, your formula
would be flawed to start with. So you might write:

=IF(K1237="","",IF(K1237=2,U1236+1.3,U1236+1))

No need to test K1237<=1. That is implied when K1237=2 is false.

  #5   Report Post  
Junior Member
 
Posts: 11
Smile

Quote:
Originally Posted by Vacuum Sealed View Post
On 24/07/2012 6:54 PM, Bootface wrote:
I have the following formula in my work sheet in cell U1237
=IF(K1237=2,(U1236+1.3),IF(K1237<=1,U1236+1)) however when I drag this
formula down it calculates blank cells as a 0 and returns a figure. How
do I keep the below cells blank whilst keeping the formula. When I try
the Isblank method I just get an error saying too many arguments. Thanks




Hi

=IF(K1237="","",IF(K1237=2,(U1236+1.3),IF(K1237<= 1,U1236+1)))

HTH
Mick.

Hi Mick
Thanks very much that has done the trick :-)


  #6   Report Post  
Junior Member
 
Posts: 11
Default

Quote:
Originally Posted by Spencer101 View Post
How about:

=IF(K1237="","",IF(K1237=2,(U1236+1.3),IF(K1237<= 1,U1236+1)))


Does that do what you're after?
Thanks Spencer yes it does :-)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Equation Blank cells until input is added Ross @ Unirope Excel Discussion (Misc queries) 1 October 19th 09 06:26 PM
Keeping # of Cells constant in a formula jeannie v Excel Worksheet Functions 9 February 19th 08 01:20 AM
How do I drag a formula keeping cells the same but changing sheets Claire Excel Worksheet Functions 2 October 30th 07 12:16 PM
Keeping the correct cells when making a formula? Drokare Excel Worksheet Functions 2 September 14th 07 02:18 AM
How to copy cells with keeping exact formula intact Stephen Excel Discussion (Misc queries) 6 April 3rd 05 10:56 PM


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"