Hi all,
I need some help with the problem below. I am using Excel 2007. I have tried searching for a similar problem that someone elase may have already asked, but none seem to help with my particular problem, so here goes:
Please see the arrached spreadsheet file.
I need some sort of lookup formula to go in column B of the "Weeks" sheet that will:
- look at the date in column A of the "Weeks" sheet.
- find that date in the appropriate range (column E - F) on the "Clinics" sheet.
- return a value of (Col A x Col B) from the row in question.
For example:
In row 2 of the "Weeks" sheet we are looking for the date 28/5/12. Looking on the "Clinics" sheet, that date falls in the date range on row 2. So A2xB2 = 165 and this is the figure I need to be displayed in cell B2 on the "Weeks" sheet.
I hope I have made myself clear and that I have posted this query in the correct place. As you will see, I am new to the forum. Thanks in advance for any help you could offer,
mrmessy.
Last edited by mrmessy; 02-10-2012 at 11:53 AM. Reason: Better Title
Forum Rules
Please read and adhere to these simple rules!
1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
To change the title of the thread, click EDIT on the original post, then click the Go Advanced button, then change the title. If two or more hours have passed, the EDIT button will not appear, and you need to ask a moderator to change the title.
"Relax. What is mind? No matter. What is matter? Never mind!"
Title changed. Hope this is OK.
Now.. Why 28.5.2012 is returned between: 27.5.2011 and 19.10.2011?
"Relax. What is mind? No matter. What is matter? Never mind!"
See here does any of those solutions give you what you need:
B and C. Last product between dates
D: Sum of all values between period
"Relax. What is mind? No matter. What is matter? Never mind!"
I think that you may have the answer! I will look at it more closely later. Sorry for my mix up with the year in my example.
Thanks,
mrmessy
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks