+ Reply to Thread
Results 1 to 3 of 3

Need to conditionally replace a cell...

  1. #1
    Registered User
    Join Date
    03-05-2005
    Posts
    8

    Need to conditionally replace a cell...

    with the value in another cell.

    I am putting together a spreadsheet that will be a time sheet for the various tasks that a worker does. Each of the tasks has a payment amount associated with the task. I would like the worker to simply enter an X in a cell to indicate that s/he performed the task. Behind the scene I want to then replace the X with the actual pay which is stored in another cell.

    Thanks,

    Pete

  2. #2
    Forum Contributor
    Join Date
    01-11-2004
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    388
    Hi!

    Assume the payment is to be stored in G1
    Assume the amount of the payment is stored in F1
    Assume the X is to be placed in A1

    Then put this in G1:

    =if(A1=X,F1,"")

    If there is a likelihood the user will use x or X indiscriminately,

    =if(OR(A1="x",A1="X"),F1,"")

    Alf

  3. #3
    Registered User
    Join Date
    03-05-2005
    Posts
    8

    I don't think this will work

    I am hoping to be able to actually REPLACE the X with the payment amount.

    If I have a cell (A1) that represents, say, headlight replacement, and it pays $5.60, I would like to have the mechanic enter an X in A1 and have the spreadsheet recognize the X in A1 and replace the X with the $5.60 which is in B1.

    So A1 would start empty, the mechanic would put an X in it, and the spreadsheet would replace the X with the actual payment amount of $5.60 which is in cell B1.

+ 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