+ Reply to Thread
Results 1 to 6 of 6

Constant

Hybrid View

  1. #1
    Registered User
    Join Date
    06-21-2006
    Posts
    5

    Constant

    Hi, sorry, me again

    is there a way to make a constant value in one cell automatically, if another cell on that row has been populated.

    Thanks

  2. #2
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    suppose you want a constant say 100 to be put in col B if col A (in same row) is populated i-e not empty
    try this formula (put it in cell B1 and copy it down)
    =IF(A1<>"","100","")

    Quote Originally Posted by sedonovan
    Hi, sorry, me again

    is there a way to make a constant value in one cell automatically, if another cell on that row has been populated.

    Thanks

  3. #3
    Registered User
    Join Date
    06-21-2006
    Posts
    5
    thanks, you ARE a star!

  4. #4
    Max
    Guest

    Re: Constant

    > =IF(A1<>"","100","")

    Believe starguy meant:
    =IF(A1<>"",100,"")

    Drop the quotes for numbers, otherwise it'll be returned as text numbers
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---

  5. #5
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    yes

    Believe starguy meant:
    =IF(A1<>"",100,"")

    Drop the quotes for numbers, otherwise it'll be returned as text numbers
    --
    Max
    Singapore
    http://savefile.com/projects/236895
    xdemechanik
    ---[/QUOTE]

  6. #6
    David Biddulph
    Guest

    Re: Constant

    "starguy" <[email protected]> wrote in
    message news:[email protected]...
    > sedonovan Wrote:
    >> Hi, sorry, me again
    >>
    >> is there a way to make a constant value in one cell automatically, if
    >> another cell on that row has been populated.


    > suppose you want a constant say 100 to be put in col B if col A (in same
    > row) is populated i-e not empty
    > try this formula (put it in cell B1 and copy it down)
    > =IF(A1<>"","100","")


    But make that
    =IF(A1<>"",100,"") if you want to use the 100 as a number. With "100" in
    the double quotes it would appear as a text string.
    --
    David Biddulph



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1