+ Reply to Thread
Results 1 to 12 of 12

Putting Date in One Cell and Amount in the other... to get ---

  1. #1
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Post Putting Date in One Cell and Amount in the other... to get ---

    Putting Dates in Column A... Putting Amounts in Column B...
    Suppose today is 13/12/13... Last Cell should show.. 4000
    2000 12/12/13
    4000 13/12/13
    5000 15/12/13
    10000 13/12/13
    Today's=14000
    Last edited by sufian.naeem; 12-18-2013 at 09:52 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Putting Date in One Cell and Amount in the other... to get ---

    If the date you were looking for was in cell D1, you could use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---

    The Formula isn't actually working the way i wanted it to ...
    Quote Originally Posted by TMShucks View Post
    If the date you were looking for was in cell D1, you could use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  4. #4
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---


  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Putting Date in One Cell and Amount in the other... to get ---

    The Formula isn't actually working the way i wanted it to ...
    So, how did you want it to work?

    In your original post, you said
    Putting Dates in Column A... Putting Amounts in Column B
    But then the example showed amounts and dates.

    I worked with the the sample data, rather than what you said.

    In the sample workbook that you uploaded to Dropbox, there are two dates, column A and column D, and an amount in column E. You haven't put any data in the workbook. And the formula in the merged cell in A2 is =NOW() which will also include the time.

    So, taking all that into account, and assuming you want to look at the date in column D rather than column A (if they're different), the formula would be:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  6. #6
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---

    I want total "today's" to be Rs.: 55100 ..
    Quote Originally Posted by TMShucks View Post
    So, how did you want it to work?

    In your original post, you said

    But then the example showed amounts and dates.

    I worked with the the sample data, rather than what you said.

    In the sample workbook that you uploaded to Dropbox, there are two dates, column A and column D, and an amount in column E. You haven't put any data in the workbook. And the formula in the merged cell in A2 is =NOW() which will also include the time.

    So, taking all that into account, and assuming you want to look at the date in column D rather than column A (if they're different), the formula would be:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  7. #7
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---

    It should add up all amounts of "Today's Date" at the end..
    and showing "today's" isnt really important... just the amount..

  8. #8
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---


  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Putting Date in One Cell and Amount in the other... to get ---

    You know, I'm pretty sure you've changed that last cell from 4000 to 14000. But you didn't change the description of what you expected there.

    Suppose today is 13/12/13... Last Cell should show.. 4000
    Which is what you got (using INDEX/MATCH).

    If you want to get the total for one criterion, use SUMIF. If you have several criteria, use SUMIFS.

    I'll leave it with you to look at the Help because I'm not very happy about you going back and moving the goalposts.

  10. #10
    Registered User
    Join Date
    07-19-2013
    Location
    Lahore
    MS-Off Ver
    Excel 2013
    Posts
    29

    Re: Putting Date in One Cell and Amount in the other... to get ---

    LOL... im so sorry .. so sorry .. actually .. i changed it coz... i wanted You guys to know that i want to sum up 2 values.. not one.. and thats my mistake that i dint change "Suppose today is 13/12/13... Last Cell should show.. 4000" it needed to be changed as well.. well i dint want U to think of Me like im trying to be funny, wasting Your time..
    Please Guide...
    Quote Originally Posted by TMShucks View Post
    You know, I'm pretty sure you've changed that last cell from 4000 to 14000. But you didn't change the description of what you expected there.



    Which is what you got (using INDEX/MATCH).

    If you want to get the total for one criterion, use SUMIF. If you have several criteria, use SUMIFS.

    I'll leave it with you to look at the Help because I'm not very happy about you going back and moving the goalposts.

  11. #11
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Putting Date in One Cell and Amount in the other... to get ---

    Then ...
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Putting Date in One Cell and Amount in the other... to get ---

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Putting Date in One Cell and Amount in the other... to get ---
    By sufian.naeem in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2013, 07:40 AM
  2. Replies: 2
    Last Post: 04-28-2013, 02:23 AM
  3. Putting in a minimum amount in a cell
    By Mahlhavoc in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-25-2009, 04:53 PM
  4. [SOLVED] Putting computer date in cell
    By Fitz in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-23-2005, 10:05 PM
  5. [SOLVED] putting date and time together in 1 cell
    By Robbie in forum Excel General
    Replies: 3
    Last Post: 02-22-2005, 12:06 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