+ Reply to Thread
Results 1 to 6 of 6

Populate based on a Condition

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Illinois USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Question Populate based on a Condition

    Hi all
    I have a question on how to populate a cell based on a condition
    Here’s what I want to do.
    I have 2 sheets (Setup, Check)
    On the "Setup" sheet I have 6 cells, 3 of them have names the other 3 are below and are blank. If I put something like x or 1 in one of the empty cells below I would like to populate a Cell in my Check sheet with the text above the x or 1.
    Sorry about the poor description I find myself having a hard time to explain this

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Populate based on a Condition

    Hello RallyFun, welcome to the forum.

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-10-2011
    Location
    Illinois USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Populate based on a Condition

    Good Point
    So here it is.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-10-2011
    Location
    Illinois USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Populate based on a Condition

    Anyone have any Idea?
    Thanks!!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Populate based on a Condition

    =IF(ISNA(MATCH("x",Setup!A3:C3,0)),"",INDEX(Setup!$A$2:$C$2,MATCH("x",Setup!A3:C3,0)))


    Regards

  6. #6
    Registered User
    Join Date
    11-10-2011
    Location
    Illinois USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Populate based on a Condition

    That is great
    I really did want to do it using just the basic spreadsheet. I have already changed it to code instead but going to change it back.
    Thanks for the effort!!

+ 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