+ Reply to Thread
Results 1 to 9 of 9

date translated to value

  1. #1
    Registered User
    Join Date
    03-25-2019
    Location
    Aberdeen
    MS-Off Ver
    2007
    Posts
    5

    date translated to value

    Hi Excel Experts! I am new to this forum and really need some help. This is probably super simple but I have no idea where to start, would really appreciate your help.

    I have several bills due within the next few months (each date is assigned to a different cell) and I would like to translate that into values once the bill due date is here.

    Say today is 1st of March
    Cell A2 reads that a bill is due out on 2nd March (2/03/19 shown in cell A2). The bill is for £50 (not sure where to insert that value?). So tomorrow when the bill is due I would like for another cell (say A5) to show the value of £50. Is that even possible? I honestly have no idea where to start.

    Thank you!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: date translated to value

    Yes that is possible, if you put the bill amount in B2 as £50 then if A2 shows 2/3/19 you can use =IF(A2-TODAY()=1,B2,"")
    Or if you want it to show if today is what March 2 then =IF(A2=TODAY(),B2,"")
    hope that helps.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    03-25-2019
    Location
    Aberdeen
    MS-Off Ver
    2007
    Posts
    5

    Re: date translated to value

    omg thank you! that simple huh? you are awesome! i am away to try this out now.

    Could I use similar formula for forecasting? If say I have 3 bills due between March and May, could the total values come up in a single cell meant for budget forecast for March, April and May? This is black magic to me!

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: date translated to value

    Yes, you can use it for future dates, like say that you want to see what is due in 30 days, you could put =IF(A2-TODAY()<=30,B2,"") for example
    something else to consider, you may need to substitute the commas (,) with semicolons ( in the formula depending on your regional excel settings, mine uses commas so that is how I wrote the formula.
    as you use excel more often you'll get better with it, this forum is one of many sites that enhance skills.
    good luck.

  5. #5
    Registered User
    Join Date
    03-25-2019
    Location
    Aberdeen
    MS-Off Ver
    2007
    Posts
    5

    Re: date translated to value

    You are a saint! thank you, I shall start practicing now

  6. #6
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: date translated to value

    Sambo's last suggestion will always show a rolling 30 day due period, i.e. on 15/4/19 it would look at anything due before 15/5/19.

    This will see if it is due this month, but will not compare the year if you have an ongoing list.

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

    This will do month and year, the 0 tells the formula 'this month only', to go to the end of next month, change 0 to 1, the month after, change it to 2, etc.

    =IF(A2<=EOMONTH(TODAY(),0),B2,"")

    @Sambo, If you use [NOPARSE] tags around (;) it will stop the board changing it to a winking smiley.

  7. #7
    Registered User
    Join Date
    03-25-2019
    Location
    Aberdeen
    MS-Off Ver
    2007
    Posts
    5

    Re: date translated to value

    thank you Jason, I do have an ongoing list, basically with lots of amounts due within Q1,Q2,Q3 and Q4. I will look at all the options but i have a feeling I may be back with more questions!

    thanks guys!

  8. #8
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: date translated to value

    You're welcome!

    For current quarter, try

    =IF(A2<=EOMONTH(TODAY(),2-MOD(MONTH(TODAY())-1,3)),B2,"")

  9. #9
    Registered User
    Join Date
    03-25-2019
    Location
    Aberdeen
    MS-Off Ver
    2007
    Posts
    5

    Re: date translated to value

    You guys are magicians

+ 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. 1st 3 octets get subnet translated
    By bharath18091991 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-19-2018, 08:40 AM
  2. [SOLVED] Index Match Function translated to VBA excel code
    By dylanrose in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-04-2015, 08:03 PM
  3. Need this PV formula translated
    By Anonymous71 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2015, 03:36 PM
  4. Hotkeys translated to Swedish
    By InNeedOfHelp12345 in forum Excel General
    Replies: 2
    Last Post: 01-15-2015, 06:20 AM
  5. [SOLVED] numerical value to be translated into a word
    By gocolonel77 in forum Excel General
    Replies: 2
    Last Post: 08-17-2013, 11:46 PM
  6. [SOLVED] Manipulate a cell value so that first number is translated to a letter
    By CNE5x in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-24-2012, 04:04 PM
  7. Where do I find translated terms?
    By anayeri in forum Excel General
    Replies: 2
    Last Post: 11-03-2009, 01:15 PM

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