Hi
.. stuck in this
In Sheet1, col A=Dates, Col B=Names, COL C=Payment.
So, what I need is.
In Sheet2, I want to type the start & the end date.
Then to select a Name.
And then to get using formula,one by one the dates and the values, that the selected Name had, for that SPECIFIC time.
Hope to make sense.
Thank you in advance
Last edited by Fotis1991; 01-16-2012 at 10:32 AM.
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
Add helper column in Sheet1, D2:
=IF(AND(A2>=Sheet2!$A$2,A2<=Sheet2!$B$2,B2=Sheet2!$E$1),COUNT(D$1:D1)+1,"")
copied down
Then in E2:
=MAX(D:D)
Then in Sheet2, A6:
=IF(ROWS($A$6:$A6)>Sheet1!$E$2,"",INDEX(Sheet1!A:A,MATCH(ROWS($A$6:$A6),Sheet1!$D:$D)))
copied down and across.
Note: replace commas with Semi-colons for your regional settings.
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
... Of course it works perfectly! ... As usual ...
Thanks a lot.
Regards
Fotis.
I am proud that i am Greek.
Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?
Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Please,mark your thread [SOLVED] if you received your answer.
My Avadar picture, is from Athens Acropolis.
http://www.theacropolismuseum.gr
http://www.visitgreece.gr/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks