+ Reply to Thread
Results 1 to 3 of 3

Formula to return values from the corresponding month's column into a different tab

  1. #1
    Registered User
    Join Date
    07-27-2015
    Location
    DC, USA
    MS-Off Ver
    2013
    Posts
    10

    Formula to return values from the corresponding month's column into a different tab

    Hello,
    I am looking for a way to return data based on current month. The attached file has two tabs - A and B. B keeps a running total of sales for each month. A is what i submit to managers and they dont need to see the whole year worth of data - only the current month. I manually enter the month in the yellow fields. So basically i need C9 from tab A to return AA11 from tab B for September, C9 from tab A to return AD11 from tab B for October and so on. I could change the months names in line 5 from tab B if that will make it easier.

    Thank you.

    Edit: I basically want to enter data in tab B only and the formula to return values of the designated month in tab A.
    Attached Files Attached Files
    Last edited by parsenov; 10-04-2019 at 12:51 PM.

  2. #2
    Registered User
    Join Date
    08-29-2017
    Location
    Edinburgh, Scotland
    MS-Off Ver
    2016
    Posts
    12

    Re: Formula to return values from the corresponding month's column into a different tab

    Hello,

    With these kind of sheets it is always worth having a datasheet where you keep the raw data stored in a standard format/layout.

    See the attached. I have taken your worksheet and added a DataTable sheet which contains the same info as in rough data, but in a format that is easier to use with formulas.
    Using that data a simple VLookup will provide the solution you require. All you need to do is input the data into the DataTable and then change the current month in Cell I3. Simply type Sep-19 for the next month and so on.

    You can make this work a lot better my naming ranges etc, but for now this should set you on the right path. Likewise with a datasheet you can easily replicate all of what you need and more by using pivot tables.
    It also makes things easier when selecting data for charts and other visualizations.

    Hope this helps, but if you have any other questions please feel free to ask.

    Cheers,
    MrChrisP
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-27-2015
    Location
    DC, USA
    MS-Off Ver
    2013
    Posts
    10

    Re: Formula to return values from the corresponding month's column into a different tab

    That, sir, will fix my problems. I inherited this sheet and was a mess in the beginning so i will no hesitate to change my rough data to the table format you suggest.
    Thank you very much for your help.

+ 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. HLOOKUP formula to return all the values in that column
    By SPA812 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-03-2020, 03:59 AM
  2. [SOLVED] Formula to return unique values in a column
    By MyStix01 in forum Excel General
    Replies: 8
    Last Post: 11-27-2018, 10:09 AM
  3. Replies: 5
    Last Post: 04-06-2017, 03:40 AM
  4. Replies: 6
    Last Post: 07-25-2016, 12:07 PM
  5. [SOLVED] Formula to return End OF Month date with non-calendar month lengths.
    By Snoddas in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 05-09-2014, 08:45 AM
  6. Formula to Return non-blank values from a column
    By adamb22 in forum Excel General
    Replies: 4
    Last Post: 05-23-2012, 03:15 PM
  7. Replies: 3
    Last Post: 09-25-2007, 10:26 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