+ Reply to Thread
Results 1 to 11 of 11

Getting Column Details from tabs

  1. #1
    Registered User
    Join Date
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Question Getting Column Details from tabs

    Hi,
    I am making a personal budget sheet in which I have a dashboard tab on which I am getting Nearest due date from the individual monthly tabs in the worksheet. I have managed to get the date but I want to show the next two columns for this nearest due date on dashboard tab as well. Is it possible to do that?

    Nearest Due Date What Amount
    03-January-2018


    Thanks in Advance.

  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. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,159

    Re: Getting Column Details from tabs

    Welcome to the forum!

    Which formula have you used to get the date?

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    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. 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
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Re: Getting Column Details from tabs

    See attached.
    Attached Files Attached Files
    Last edited by AliGW; 12-20-2017 at 02:53 AM.

  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. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,159

    Re: Getting Column Details from tabs

    Please see point #2 of post #2 and add to your sample sheet.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,912

    Re: Getting Column Details from tabs

    I used a "helper" cell to get tab name

    in H16

    =TEXT(H15,"mmm" & " " & "yy")

    in I15

    =INDEX(INDIRECT("'" &$H$16 &"'!a3:A20"),MATCH($H$15,INDIRECT("'" &$H$16 &"'!B3:B20"),0))

    in J15 (unmerged)

    =INDEX(INDIRECT("'" &$H$16 &"'!C3:C20"),MATCH($H$15,INDIRECT("'" &$H$16 &"'!B3:B20"),0))


    NOTES:

    1) I had problem with INDIRECT with single quote in you tab name so i replace it with blank e.g Jan 18 (someone will no doubt get the correct syntax)

    2) You can replace H16 in the I15/J15 formula with formula in H16
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Re: Getting Column Details from tabs

    Thanks John.. This works for me. The only thing is when I changed the computer date to test it for future dates, the formula for finding the nearest date always returned with a false value. I am not sure why it happened but it works perfectly fine when I change the date to current timings.

    Thanks
    Vyom

  7. #7
    Registered User
    Join Date
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Re: Getting Column Details from tabs

    Hi John,
    Sorry to bother again. I was testing the formulas by moving the nearest due date in different monthly tabs and except in the first January tab it's not reading the column details actually.
    Am I missing something? I am starter level user and didn't understood the Indirect and index matching formula.
    Attached Files Attached Files
    Last edited by AliGW; 12-28-2017 at 06:35 AM. Reason: Unnecessary quotation removed.

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,912

    Re: Getting Column Details from tabs

    Quite simple: there isn't a tab named "Dec 17".

    I assumed any due date would be in the month in H15: I did not expect a due date of December in January!.

    If this not the case, then we need a different solution

  9. #9
    Registered User
    Join Date
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Re: Getting Column Details from tabs

    Thanks for the reply. Yes some of the due dates can be in different months as well. Like the one coming after 28 days. I tried to test changing the date of the computer to July 18, getting the same error. I kept the Jan due date in Feb month, got the same error again.

  10. #10
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,912

    Re: Getting Column Details from tabs

    In H15

    =IF(MIN('Jan 18:Dec 18'!B3:B20) < TODAY(),FALSE,MIN('Jan 18:Dec 18'!B3:B20))

    in H16

    =INDEX(SheetList,MATCH(1,--(COUNTIF(INDIRECT("'"&SheetList&"'!$B$1:$B$200"),$H$15) > 0),0))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    In O1:O13 create named range "Sheetlist" (list of all your sheet names)
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    10-13-2017
    Location
    Perth, Australia
    MS-Off Ver
    2007
    Posts
    7

    Re: Getting Column Details from tabs

    Thanks a lot John.. This is exactly what I wanted. Thanks a lot.

+ 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: 5
    Last Post: 02-01-2017, 08:26 AM
  2. [SOLVED] Arranging two column's based on one column's details
    By papusale in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-07-2016, 07:05 PM
  3. [SOLVED] Filter//paste data to 2 columns (title & details), autofill titles to match details
    By Frankximus3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-18-2016, 03:10 AM
  4. [SOLVED] how can i search and copy details of a particular User details in Sheet1
    By baig123 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-10-2014, 02:58 AM
  5. Merged details from 3 or more tabs into common tab
    By Citi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2014, 03:32 AM
  6. Replies: 0
    Last Post: 08-21-2012, 01:19 AM
  7. Replies: 1
    Last Post: 06-19-2012, 03:37 AM

Tags for this Thread

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