+ Reply to Thread
Results 1 to 12 of 12

Help needed with what excel formula to use. Need to display data for only specific cells

  1. #1
    Registered User
    Join Date
    02-17-2009
    Location
    england
    MS-Off Ver
    I am using Office 365 enterprise Version 2202 (Build 14931.20660)
    Posts
    57

    Help needed with what excel formula to use. Need to display data for only specific cells

    Good Evening All

    I am really hoping for your help with this one since I have no idea what formula can be used.
    I am trying to make my and my colleagues life easier

    I have a list of Location names that drivers need to visit daily, some are getting cancelled depending on the day of the week. If pick up is cancelled - arrival times will be deleted.
    The List is different for each day and there would be tabs for each day of the week.

    Trying to populate a list for the staff offloading where they will only see the arrivals that have not been cancelled. The list needs to populate in "Mon record" tab.

    Need a formula in "Mon record" tab in cell A2 - that will display Pick up Location only if it has planned arrival time on the "Mon" tab. If there is no arrival time for the Location - it would go to the next row and apply same logic which in result would only display data in the "Mon record" tab for the pick ups that have not been cancelled.

    The same logic would apply to Tuesday, Wednesday etc.

    If pick up is cancelled - arrival times will be deleted and would not want any data for this row to be copied in to the "Mon record" tab.

    Any advise is greatly appreciated. I have attached a sample sheet.

    I am using Office 365 enterprise Version 2202 (Build 14931.20660)
    Attached Files Attached Files
    Last edited by radekrat; 05-13-2023 at 09:00 AM.

  2. #2
    Registered User
    Join Date
    05-05-2023
    Location
    United Arab Emirates
    MS-Off Ver
    Microsoft 365
    Posts
    16

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    You can achieve this by using index and match function.
    Paste and drag formulas in each column in Mon sheet as follow:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Cancelled deliveries entries will appear blank but you can filters those and keep the cells with records

    Hope this solution works for you!

  3. #3
    Registered User
    Join Date
    02-17-2009
    Location
    england
    MS-Off Ver
    I am using Office 365 enterprise Version 2202 (Build 14931.20660)
    Posts
    57

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Hi

    Thanks a lot for looking into it.

    is there a way to avoid having empty rows of data that need to be filtered?

  4. #4
    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,588

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Maybe this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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


  5. #5
    Registered User
    Join Date
    05-05-2023
    Location
    United Arab Emirates
    MS-Off Ver
    Microsoft 365
    Posts
    16

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Yes, there is a way through using offset or counta but can't wrap my head around it now. It's very late here but will get back to you

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,842

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Trevor's formula is a good one in post#4.
    A word of caution for you though. I notice you have a note that there's a data area where there will be manual input by admin clerical. Because the data displayed is dynamic, that if someone changes the data in "Mon" sheet after any clerical data is entered, it will go against the wrong row.
    Of course you'll say that "We only enter the clerical data after the data in Mon sheet is completed". Next think you know, someone forgot to enter something on Mon sheet and enters after clerical data has been entered. Anyway, like I said, just a word of caution that it's always risky to write data next to data resulting from a dynamic formula.

  7. #7
    Registered User
    Join Date
    02-17-2009
    Location
    england
    MS-Off Ver
    I am using Office 365 enterprise Version 2202 (Build 14931.20660)
    Posts
    57

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    I am getting #NAME? error when pasted this formula in A2 of "Mon Record" tab

    What am I doing wrong?

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,417

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    You need to upgrade to build 2208 or later for CHOOSECOLS to work. Just run updates from Excel to get up-to-date.
    Last edited by AliGW; 05-13-2023 at 04:52 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  9. #9
    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,588

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Then
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Registered User
    Join Date
    05-05-2023
    Location
    United Arab Emirates
    MS-Off Ver
    Microsoft 365
    Posts
    16

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    Nice formula, I am rusty It's way more efficient compared with Index and Match.

  11. #11
    Registered User
    Join Date
    02-17-2009
    Location
    england
    MS-Off Ver
    I am using Office 365 enterprise Version 2202 (Build 14931.20660)
    Posts
    57

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    TMS thank you for your help, managed to get it working Fantastic, I would never be able to do it.

  12. #12
    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,588

    Re: Help needed with what excel formula to use. Need to display data for only specific cel

    You're welcome. Thanks for the rep.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 05-06-2022, 02:12 PM
  2. Formula needed (cells containing specific texts/numbers)
    By bianka_99 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-14-2021, 12:53 PM
  3. [SOLVED] Cell subtract cells with specific text formula needed please
    By rayted in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2019, 04:13 AM
  4. Formula needed to determine if specific date is included between 2 cells
    By KATAGRGA in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-26-2016, 03:44 PM
  5. Replies: 1
    Last Post: 11-13-2015, 04:58 PM
  6. VBA needed to extract data from specific cells in different worksheet
    By woolen in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-08-2011, 02:19 PM
  7. macro needed to sum specific data in specific cells
    By nasser in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-24-2011, 08:11 AM

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