+ Reply to Thread
Results 1 to 5 of 5

outcome of a cell dependent an value of a set of 3 cells

  1. #1
    Registered User
    Join Date
    02-01-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    outcome of a cell dependent an value of a set of 3 cells

    Hi first off thank you for taking the time to look at this.

    I have a sheet which is a slection sheet of equipment (1(no numerical value) in the box means that this equipment is included)

    What im trying to do is

    If cell Access!C5=1 then cell summary = door handle

    so i used an if statement like this

    =IF(Access!C5=1,"door handle","") works great

    problem i have is that i have 3 possible cells that will fill the cell on the summary sheet

    c5 c6 and c7

    if a 1 is in c5 then it's a door handle =IF(Access!C5=1,"door handle","")
    if a 1 is in c6 then it's a pull lever =IF(Access!C6=1,"Pull lever","")
    if a 1 in in c7 then it's a blank plate =IF(Access!C7=1,"Blank plate","")

    now i get the if statement to work for each one seperatly but when i try to combine all 3 in one cell i get an error.

    The answer can only be one of the 3


    please can anybody either point me in the right direction or add the missing bits


    thank you

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: outcome of a cell dependent an value of a set of 3 cells

    Try

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: outcome of a cell dependent an value of a set of 3 cells

    Which one has priority ?
    if the blank plate is highest then something like this :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,737

    Re: outcome of a cell dependent an value of a set of 3 cells

    Do you mean that you want one formula that combines each of those conditions? Like this:

    =IF(Access!C5=1,"door handle",IF(Access!C6=1,"Pull lever",IF(Access!C7=1,"Blank plate","")))

    Here's another way:

    =INDEX({"door handle","Pull lever","Blank plate"},MATCH(1,C5:C7,0))

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    02-01-2013
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: outcome of a cell dependent an value of a set of 3 cells

    Hi Ace,

    Thank you works great


    pete/dredwolf thanks ace soloution worked thank you for your replys




    Matt

+ 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