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

Hi, it's been a long time since I have worked with formulas and I am having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?
--
Kelly
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 342
Default formulas containing constants

Not exactly clear what you mean by constant, but I will guess that you need
=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")
so that the row number does not change when you copy the formula.

Tom



"fentonas1" wrote:

Hi, it's been a long time since I have worked with formulas and I am having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?
--
Kelly

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default formulas containing constants

Your $ signs have made column G constant but not rows.

You need to also make them constant.

=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")


Gord Dibben MS Excel MVP


On Thu, 25 Mar 2010 14:41:02 -0700, fentonas1
wrote:

Hi, it's been a long time since I have worked with formulas and I am having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 342
Default formulas containing constants

I don't understand why you answered this question an hour after I had already
answered it, with the same answer.

"Gord Dibben" wrote:

Your $ signs have made column G constant but not rows.

You need to also make them constant.

=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")


Gord Dibben MS Excel MVP


On Thu, 25 Mar 2010 14:41:02 -0700, fentonas1
wrote:

Hi, it's been a long time since I have worked with formulas and I am having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?


.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default formulas containing constants

The time stamps show the time difference is 21 minutes, not an hour. More
than likely, your message got delayed in one of the servers and did not get
posted as soon as you sent it. My guess is that Gord read into the thread
before your response hit the server his ISP uses. These kind of delays
happen all the time.

--
Rick (MVP - Excel)



"tompl" wrote in message
...
I don't understand why you answered this question an hour after I had
already
answered it, with the same answer.

"Gord Dibben" wrote:

Your $ signs have made column G constant but not rows.

You need to also make them constant.

=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")


Gord Dibben MS Excel MVP


On Thu, 25 Mar 2010 14:41:02 -0700, fentonas1
wrote:

Hi, it's been a long time since I have worked with formulas and I am
having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?


.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default formulas containing constants

I copied your answer then posted it as my own so I could get brownie points.


Gord

On Thu, 25 Mar 2010 16:41:01 -0700, tompl
wrote:

I don't understand why you answered this question an hour after I had already
answered it, with the same answer.

"Gord Dibben" wrote:

Your $ signs have made column G constant but not rows.

You need to also make them constant.

=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")


Gord Dibben MS Excel MVP


On Thu, 25 Mar 2010 14:41:02 -0700, fentonas1
wrote:

Hi, it's been a long time since I have worked with formulas and I am having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?


.


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default formulas containing constants

Uh-oh, you just told everybody the secret of how to become an Excel MVP.<g

--
Rick (MVP - Excel)



"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
I copied your answer then posted it as my own so I could get brownie
points.


Gord

On Thu, 25 Mar 2010 16:41:01 -0700, tompl

wrote:

I don't understand why you answered this question an hour after I had
already
answered it, with the same answer.

"Gord Dibben" wrote:

Your $ signs have made column G constant but not rows.

You need to also make them constant.

=IF(OR(B2=$G$2,B2=$G$3,B2=$G$4,B2=$G$5),"Already set up","Not set up")


Gord Dibben MS Excel MVP


On Thu, 25 Mar 2010 14:41:02 -0700, fentonas1
wrote:

Hi, it's been a long time since I have worked with formulas and I am
having
problem with a formula that is working with constants. My formula is:
=IF(OR(B2=$G2,B2=$G3,B2=$G4,B2=$G5),"Already set up","Not set up")
G2 through G5 should remain constant. What am I doing wrong?

.


  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default formulas containing constants

I thought you got to be MVP by adding a sig line like "Click the Yes button
so's I can be graded on my answer"


Gord Dibben MS Excel MVP


On Fri, 26 Mar 2010 11:22:22 -0400, "Rick Rothstein"
wrote:

Uh-oh, you just told everybody the secret of how to become an Excel MVP.<g


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
Constants Roger Excel Programming 2 July 24th 09 06:32 PM
Excel sees cell formulas as constants, will not solve Derek P Excel Worksheet Functions 1 July 28th 06 04:16 PM
Finding constants in formulas Co-op Bank Excel Programming 13 November 3rd 05 04:36 PM
Finding constants in formulas Co-op Bank Excel Worksheet Functions 1 October 27th 05 02:09 PM
Finding constants in formulas Co-op Bank Excel Discussion (Misc queries) 1 October 27th 05 11:33 AM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"