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
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.
If the date you were looking for was in cell D1, you could use:
Formula:
="Today's = " & INDEX($A$1:$A$4,MATCH($D$1,$B$1:$B$4,0))
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
Here is the attachment ...
https://drive.google.com/file/d/0B3a...it?usp=sharing
So, how did you want it to work?The Formula isn't actually working the way i wanted it to ...
In your original post, you saidBut then the example showed amounts and dates.Putting Dates in Column A... Putting Amounts in Column B
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:
="Today's = Rs. " & TEXT(INDEX($E$4:$E$38,MATCH(INT($A$2),$D$4:$D$38,0)),"0,000")
Regards, TMS
It should add up all amounts of "Today's Date" at the end..
and showing "today's" isnt really important... just the amount..
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).Suppose today is 13/12/13... Last Cell should show.. 4000
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.
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...
Then ...Formula:
=SUMIF(Table1[S. Date],INT(A2),Table1[Amount])
Regards, TMS
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.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks