+ Reply to Thread
Results 1 to 6 of 6

Find value based on what the current month is (sample data is attached)

  1. #1
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Find value based on what the current month is (sample data is attached)

    Hi,

    Need help on a formula please.
    Sample book is attached.
    All data in the sample book is fake and doesn't mean anything.

    I have columns Jan - Dec and a total column. I've added "First Month Spend" and "Amount" as new columns.

    First Month Spend:
    - This column should find the amount of money that will be spent in the first month of that line i.e. if there is no monitary value from Jan - Aug but there is monitary values from Sep - Dec, that means I begin paying monthly for that line in September and therefore that is the first month spend

    Amount:
    - This column should show the amount of money that is spent in the already-calculated first month spend. i.e. the formula found that the first monitary value was in Sep, therefore that's the first month spend, but this cell will show the value of Sep for that value. I.e. £50,000 is forecasted to spend in Sept, therefore £50,000 will be displayed in the "Amount" column.

    I used this formula to find the amount, which works partially:
    Copy to clipboard
    Please Login or Register  to view this content.
    It basically looks in January, if there is a value in January it will stop the formula and input January's value, if there is nothing in January it looks in Feburary and repeats the process until December - if there's nothing in December it will input "No Spend" into the cell as there is no forecasted spend.

    This formula works, but doesn't take into consideration the current month. If the first spend is in February, I am not interested because February has been and gone... I want it to only give me values after today's month, but automatically (i.e. i don't want to have to remmeber to go in and change the formula each month).

    Any help on this would be appreciated.
    I've tried to include as much info as possible but apologies if I have missed some stuff out - please just ask for more info.

    Many thanks

  2. #2
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: Find value based on what the current month is (sample data is attached)

    Sorry.. the book is uploaded now
    Last edited by kai.; 04-30-2018 at 08:15 AM.

  3. #3
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: Find value based on what the current month is (sample data is attached)

    I'm a literal noob. sorry. test data should be uploaded now.
    Attached Files Attached Files

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Find value based on what the current month is (sample data is attached)

    tRY

    p2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  5. #5
    Registered User
    Join Date
    09-13-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    16

    Re: Find value based on what the current month is (sample data is attached)

    Quote Originally Posted by shukla.ankur281190 View Post
    tRY

    p2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Worked perfectly thank you! I rep'd you.

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Find value based on what the current month is (sample data is attached)

    Thank you for feedback and added rep.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] How to write code to remove data from bottom. Sample attached!
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 04-24-2015, 12:20 PM
  2. How to reformat data - Sample input and outputs are attached
    By Palraj in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-12-2015, 07:22 AM
  3. [SOLVED] counting unique/distinct values (sample data attached)
    By justinhampton81 in forum Excel General
    Replies: 9
    Last Post: 08-06-2014, 12:41 AM
  4. [SOLVED] Pick a cell containing current month actulas based what the current month is.
    By vanbasten007 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-10-2014, 01:17 AM
  5. Replies: 1
    Last Post: 08-13-2012, 11:18 AM
  6. Combining If and Lookup for Complicated Data (Sample is attached)
    By than_k22 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-15-2010, 01:13 PM
  7. Replies: 0
    Last Post: 07-21-2009, 05:21 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