+ Reply to Thread
Results 1 to 15 of 15

returning something in a cell if another cell has info input

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-23-2007
    Posts
    690

    returning something in a cell if another cell has info input

    hi guys

    im trying to get my spreadsheet to return the word unit if cell a18=1 or the word units if its over 1 but i also want the cell to remain empty if there is nothing input into cell a18 is this possible

    help gratefully received

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Quote Originally Posted by stevesunfold
    hi guys

    im trying to get my spreadsheet to return the word unit if cell a18=1 or the word units if its over 1 but i also want the cell to remain empty if there is nothing input into cell a18 is this possible

    help gratefully received
    place this in B18 for example
    =if(a18=1,"yep","")

  3. #3
    Forum Contributor
    Join Date
    06-23-2007
    Posts
    690
    hi dave but what if it is 2 or more

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Quote Originally Posted by stevesunfold
    hi dave but what if it is 2 or more
    Oh,
    Do you want the the number changed to words in a different cell?
    like
    one for 1
    two for 2
    three.....

  5. #5
    Forum Contributor
    Join Date
    06-23-2007
    Posts
    690
    hi dave
    no
    if a18=1 then i want the word "unit" to appear in cell a19
    but if a18>1 then i want the word "units" in cell a19
    and if there is nothing input in cell a18 then i want a19 to remain blank


    thanks for your time

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525
    Quote Originally Posted by stevesunfold
    hi dave
    no
    if a18=1 then i want the word "unit" to appear in cell a19
    but if a18>1 then i want the word "units" in cell a19
    and if there is nothing input in cell a18 then i want a19 to remain blank


    thanks for your time
    Sure...
    try this,
    =IF(A1=1,"Unit",IF(A1>1,"Units",""))

+ 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