DGET(wdata,"avgmax","month"=3 and "day"=5)
how do I have 2 criteria?
and do I have to have those curly brackets by typing shift or whatever?
thanks
PS the columns are called month, day, avgmax etc and the rows have every date in a year
DGET(wdata,"avgmax","month"=3 and "day"=5)
how do I have 2 criteria?
and do I have to have those curly brackets by typing shift or whatever?
thanks
PS the columns are called month, day, avgmax etc and the rows have every date in a year
I seldom use excel so I would not know how to do that.
what I wish is to enter the month and day in some cells (or use TODAY) and find the stats for that day.
thanks
I suggest that you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
great idea thanks
see below
when do I have to use the ctrl? key when finishing a formula? I think it is with lists and ranges etc
thanks
Okay, so I created a helper column (which you can hide) to make life easier. I also took the liberty of moving your top things around so you could simply drag the formula to the right and it would fill in everything (if you so desired).
I used these formulas:
for the data, andPlease Login or Register to view this content.
for your helper column.Please Login or Register to view this content.
See attached file. Hopefully it works in 2002 excel, I don't have anything that old unfortunately.
Last edited by TheN; 08-26-2016 at 12:58 AM. Reason: Sorry
Thanks for trying... it said circular
oh, I mustn't have changed the formulas in sheet after i moved the formulas over, sorry.
copy the top formula in my post above (It's right) in the D7 cell
once again, sorry for the inconvenience.Please Login or Register to view this content.
thanks VERY much - that worked fine
see attached.
how do I convert the TODAY or NOW functions so your formula will accept their month and day numbers?
yes I changed the row numbers in your fine D7 formula copied into D8 etc.
thanks again
Try this:
1) Modify B7 to read: =MONTH(TODAY()) (change the format to general)
2) Modify B8 to read: =MONTH(NOW()) (change the format to general)
3) Modify C7 to read: =DAY(TODAY())
4) Modify C8 to read: =DAY(NOW())
Let me know if you have any questions.
Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.
I thought of something else that might be useful to you in this case.
You can make it so your month/day options have unique drop downs that auto-populate based on your data.
see this thread for an example.
http://www.excelforum.com/showthread...=1#post4467192
everything now works.
thanks guys for your help
You're Welcome and thank you for the feedback. Please take a moment to mark the thread 'Solved' using the thread tools link above your first post. I hope that you have a blessed day.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks