Formula With Multiple Conditions

js10053

New Member
Joined
Jul 19, 2013
Messages
21
Office Version
  1. 365
  2. 2013
Hey,

I have a new excel question... every time I think I am making progress, something comes along that I just can't quite figure out. So, I'm working on a new file, I need the file to pull a number based on a date and a time. I have done both of these formulas, but I have never tried to combine them. So, basically, I am trying to get a number to automatically generate based on the date, but the number varies depending on the time of the day. So far, what I have done is create a drop down list for the times that I need, I decided that would work better than having it use the current time for various reasons based on the information I need. I have made the formula work that will allow me to pull the data I need based on the time, but I can't figure out how to get it to do it based on the date.

I'm working with two separate tabs, the main tab has the drop down list with the time. The second tab has the information I am pulling from, its a chart that has each day of the week, with a breakdown of every hour of the day, i.e.


......Sunday..........Monday..........Tuesday
12 ...XYZ. ..............ABC ...............123
1 ......ABC .............DEF ................123
2 .....GHI ..............123 ................QRS

So, I just need to be able to select 12, for example, from my drop down menu and then have the excel file automatically put the coordinating data, for example if it were Monday, ABC, in the cell.

I think I pretty much have everything else in the file working, I have some conditional formatting going, I have the date that I can use if needed, etc. this is just what I'm stuck on. I currently have it where I can pull all the data for Sunday, it's just getting the file to know what day it is and pull based on that.

I hope this all makes sense, please let me know if I need to clarify anything.

Thank you!
 
Apparently my reply didn’t post yesterday. I apologize for not having all of the information. The problem is I can’t post anything when I actually have the file so I’m doing it based off of memory. Unfortunately I found out yesterday that all of the information I had been working with is changing. So what I had done can no longer be used and the new data may not be able to work with what I was trying to accomplish. But I appreciate all of your help so far! If anything changes I’ll get back to you!
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,223,237
Messages
6,170,930
Members
452,367
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top