Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Formula Help

HI, worksheet formulas are not one of my best, so I need a little help
once again from the forum.
Here is a if formula that I started with, but it does not suit my
needs, I also looked at or ways beside the If.
IF(AH10=1,(BB1=" "))

What I' trying to do is say the if AH10 =1 then I want cell BB1 to be
blank. I need the formula to be in cell BB2.

Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Formula Help

On Mar 2, 3:29*pm, Charles wrote:
HI, worksheet formulas are not one of my best, so I need a little help
once again from the forum.
Here is a if formula that I started with, but it does not suit my
needs, I also looked at or ways beside the If.
IF(AH10=1,(BB1=" * "))

What I' trying to do is say the if AH10 =1 then I want cell BB1 to be
blank. I need the formula to be in cell BB2.

Thanks for any help.


I think you'd have to put the formula in BB1. Also, from your message,
it's not clear what should be in BB1 if AH10<1.
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 905
Default Formula Help

"Charles" wrote:
What I' trying to do is say the if AH10 =1 then
I want cell BB1 to be blank. I need the formula
to be in cell BB2


You cannot put a formula into BB2 that will change the content of BB1.

Perhaps what you mean is the following: BB2 should be the value in BB1 if
AH10<1, otherwise BB2 should appear to be blank. For that, put the
following formula into BB2:

=IF(AH10=1,"",BB1)

Note the use of the null string (""), not some number of blanks. That will
facilitate changes that you might need to make in other formulas that
reference BB2, if any. For example, the formula =A1*BB2 might need to be
changed to =IF(BB2="","",A1*BB2).


----- original message -----

"Charles" wrote in message
...
HI, worksheet formulas are not one of my best, so I need a little help
once again from the forum.
Here is a if formula that I started with, but it does not suit my
needs, I also looked at or ways beside the If.
IF(AH10=1,(BB1=" "))

What I' trying to do is say the if AH10 =1 then I want cell BB1 to be
blank. I need the formula to be in cell BB2.

Thanks for any help.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Formula Help

On Mar 2, 2:51*pm, jayray wrote:
On Mar 2, 3:29*pm, Charles wrote:

HI, worksheet formulas are not one of my best, so I need a little help
once again from the forum.
Here is a if formula that I started with, but it does not suit my
needs, I also looked at or ways beside the If.
IF(AH10=1,(BB1=" * "))


What I' trying to do is say the if AH10 =1 then I want cell BB1 to be
blank. I need the formula to be in cell BB2.


Thanks for any help.


I think you'd have to put the formula in BB1. Also, from your message,
it's not clear what should be in BB1 if AH10<1.


jayray,

Thanks for the reply. BB1 will be populated via code with text like
"TPON" and others Similar text.
What I was trying to do is set BB1 to blank if AH10=1.
Prior to the code I stared BB1 had a formula which ref. AH10. and this
populated BB1 with the desired text.
And I thought a formula could be in BE1, not BB2 that would look at
AH10 and set BB1 to "" if AH10 was grater than or equal to 1.
If this is not possible, then I will look at adding code to validate
what is in AH10.
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 36
Default Formula Help

On Mar 2, 3:02*pm, Charles wrote:
On Mar 2, 2:51*pm, jayray wrote:

On Mar 2, 3:29*pm, Charles wrote:


HI, worksheet formulas are not one of my best, so I need a little help
once again from the forum.
Here is a if formula that I started with, but it does not suit my
needs, I also looked at or ways beside the If.
IF(AH10=1,(BB1=" * "))


What I' trying to do is say the if AH10 =1 then I want cell BB1 to be
blank. I need the formula to be in cell BB2.


Thanks for any help.


I think you'd have to put the formula in BB1. Also, from your message,
it's not clear what should be in BB1 if AH10<1.


jayray,

Thanks for the reply. BB1 will be populated via code with text like
"TPON" and others Similar text.
What I was trying to do is set BB1 to blank if AH10=1.
Prior to the code I stared BB1 had a formula which ref. AH10. and this
populated BB1 with the desired text.
And I thought a formula could be in BE1, not BB2 that would look at
AH10 and set BB1 to "" if AH10 was grater than or *equal to 1.
If this is not possible, then I will look at adding code to validate
what is in AH10.


Joe User,

Thanks for your reply. From what your saying it looks like I will need
a validation code to check AH10 and set BB1 to the desired condition.

Thanks to all who looked and reply.



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
Regression Leverage Formula (Jerry W. Lewis or Mike Middleton)already have DFITS formula PJ[_3_] Excel Worksheet Functions 2 June 2nd 10 03:45 PM
Excel Formula Guidance. Formula need to determine if cell is popul Matt Excel Programming 0 February 19th 10 07:32 PM
Build excel formula using field values as text in the formula val kilbane Excel Worksheet Functions 2 April 18th 07 01:52 PM
Formula expected end of statement error, typing formula into cell as part of VBA macro [email protected] Excel Programming 1 July 20th 06 07:58 PM
Commenting custom formula fields/formula on formula editor Muxer Excel Programming 2 July 24th 03 01:02 AM


All times are GMT +1. The time now is 02:22 AM.

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"