+ Reply to Thread
Results 1 to 4 of 4

Formula to Pull data

  1. #1
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Formula to Pull data

    Hi-

    Please see attached spreadsheet. In the formula tab, I want to be able to reference my date in cell a2, and reutrn in celll c2 =Q1, AND IN D2=YTD, etc depending on the Month. Please let me know your suggestions.

    Thanks
    MiddleOfficeTEST.xlsx

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Formula to Pull data

    You can put this formula in C2:

    ="Q"&INT((MONTH($A2)-1)/3)+1

    and just:

    YTD

    in D2, and then copy both down to the bottom of the entries in column A.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    07-21-2013
    Location
    washington dc
    MS-Off Ver
    365 MSO
    Posts
    473

    Re: Formula to Pull data

    Is there any way to reference the data tab, because I don't want to have to manually type in MTD for every new Month. Like Nov will be MTD this month, but next Month only Dec will be.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Formula to Pull data

    Ah, you didn't mention MTD in your first post. Put this formula in B2:

    =IF(MONTH(A2)=MONTH(TODAY()),"MTD","")

    then copy down.

    Hope this helps.

    Pete

+ 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. formula to pull data
    By bryan469 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2013, 03:03 PM
  2. [SOLVED] Help with Formula to pull data from one worksheet to another
    By desibabuji in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-04-2012, 09:51 AM
  3. Formula used to pull multiple data
    By nmckever in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-31-2012, 12:05 AM
  4. Need a formula pull data
    By cgayle in forum Excel General
    Replies: 2
    Last Post: 02-27-2012, 03:07 PM
  5. Formula to pull data out of a cell
    By SEMMatt in forum Excel General
    Replies: 9
    Last Post: 09-28-2011, 09:27 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