Results 1 to 8 of 8
  1. #1
    2 Star Lounger
    Join Date
    Dec 2003
    Location
    Perth, Western Australia, Australia
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Two-way Formula (2003)

    Loungers - I need your assistance (again). I'm sure this is a simple issue, but I can't figure it out.
    I want to be able to but a value "x" in say A3, but only if there is a text in A1 & A2 - if not not keep A3 blank.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Two-way Formula (2003)

    Try this formula:

    =IF(OR(A1="",A2=""),"","x")

    If A1 or A2 is empty (or both), the result is an empty string, otherwise it is "x". Post back if you meant something else (for example "text in A1 & A2" as opposed to a number or date)

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Two-way Formula (2003)

    Something like:

    =IF(AND(ISTEXT(A1),ISTEXT(A2)),x,"")
    -John ... I float in liquid gardens
    UTC -7ąDS

  4. #4
    2 Star Lounger
    Join Date
    Dec 2003
    Location
    Perth, Western Australia, Australia
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Two-way Formula (2003)

    Hans
    Thanks for the quick reply - thats works fine - Your efforts are very much appreciated

  5. #5
    2 Star Lounger
    Join Date
    Dec 2003
    Location
    Perth, Western Australia, Australia
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Two-way Formula (2003)

    John, Thanks for you help - I plugged in the formula but got a #NAME? error

    Any thoughts?

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Two-way Formula (2003)

    Put quotes around the x in John's formula:

    =IF(AND(ISTEXT(A1),ISTEXT(A2)),"x","")

    This version only displays x if both A1 and A2 contain a non-empty text value. If at least one of them is blank or contains a date or number, the result is blank.

  7. #7
    2 Star Lounger
    Join Date
    Dec 2003
    Location
    Perth, Western Australia, Australia
    Posts
    128
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Two-way Formula (2003)

    Thanks Hans!

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: Two-way Formula (2003)

    Sorry, I was expecting 'x' to be a value or a cell reference, not text.
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

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