+ Reply to Thread
Results 1 to 7 of 7

If in this, then do that (maybe)?

  1. #1
    Registered User
    Join Date
    04-05-2020
    Location
    Chicago, IL
    MS-Off Ver
    2007-2013
    Posts
    2

    If in this, then do that (maybe)?

    Putting together to do list in excel. I am then prioritizing and putting items in daily calendar in same spreadsheet to print for day. I want to be able to scan a column, see a 1 I put in one row as the first priority item to do, and then upon seeing that one, copy the "to do" which is in a different column under same row, into another cell elsewhere on the spreadsheet. Seems simple enough, but after researching a while, not coming quick enough.

    Example:

    call Joe 3
    pick up kids 1
    balance checking 2

    For a cell elsewhere on the spreadsheet where I am listing the times of day in the column before, I want that cell formula to scan the column of numbers, and when it sees number 1, take the value in first column "pick up kids" and copy into the cell next to the time.

    Hopefully, this makes sense. I know I could just copy and paste, but would like this to work.

    Edit: I see on final posting, numbers don't line up in a column like I see when I compose.

    Thanks!
    Last edited by kah5683; 04-05-2020 at 11:53 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2510 (Windows 11 Home 24H2 64-bit)
    Posts
    92,853

    Re: If in this, then do that (maybe)?

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Volunteer organiser & photographer with the Sutton Hoo Ship's Company: https://saxonship.org/
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-05-2020
    Location
    Chicago, IL
    MS-Off Ver
    2007-2013
    Posts
    2

    Re: If in this, then do that (maybe)?

    I hope this is correct on attaching...
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2510 (Windows 11 Home 24H2 64-bit)
    Posts
    92,853

    Re: If in this, then do that (maybe)?

    I don't really get the logic. How is Excel meant to know at what time each of the tasks should be scheduled and why is there a gap between the first and second scheduled tasks? Where has Excel been told to leave a gap?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2510 (Windows 11 Home 24H2 64-bit)
    Posts
    92,853

    Re: If in this, then do that (maybe)?

    Of course, I'm probably overthinking this!

    Try this in L5 copied down:

    =IFNA(INDEX($A$5:$A$10,MATCH(K5,$C$5:$C$10,0)),"")

  6. #6
    Registered User
    Join Date
    03-22-2020
    Location
    Malaysia
    MS-Off Ver
    2013 and 365 Pro Plus
    Posts
    56

    Re: If in this, then do that (maybe)?

    on my sample file...

    on cell E1

    =VLOOKUP(D1,CHOOSE({1,2},B:B,A:A),2,0)

    Look for number 1, on B column and return value on A column
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-22-2020
    Location
    Malaysia
    MS-Off Ver
    2013 and 365 Pro Plus
    Posts
    56

    Re: If in this, then do that (maybe)?

    base on your file

    at cell L5

    =IF(K5="","",VLOOKUP(K5,CHOOSE({1,2},C:C,A:A),2,0))

+ 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