Excel Dropdown from Multiple Pages

juscook10

New Member
Joined
Apr 15, 2013
Messages
4
I am trying to create a spreadsheet that has a dropdown that pulls information from whichever sheet corresponds to the date selected in the dropdown. I have one sheet for each day of the month, and if the user selects 2 then it will pull the information from the 2nd day in the corresponding cells to the main front sheet. I have figured out how to do this with a nested if statement, but it is too long and excel just puts invalid for my formula after I save and reopen file. Any ideas on how to fix this?

Here is a link to the spreadsheet: http://businessanywhere.biz/april2013.xls
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Is this just looking up the data for that one single date, or are you wanting to show the first fifteen days of data?
 
Upvote 0
in cell N28, put in:

N28 = INDIRECT("'"&DAY($O$25)&"'!"&ADDRESS(ROW()-3,COLUMN()-13)) then drag to the right then down..
 
Upvote 0
Is this just looking up the data for that one single date, or are you wanting to show the first fifteen days of data?
I am wanting to pull the info from one specific date that the user picks from the drop down.
 
Upvote 0
INDIRECT function returns the reference specified by the test string while ADDRESS function returns a text representation of a cell address.

In the formula above:
ROW() = 28 *row number of cell N28
COLUMN() = 14 *column number of cell N28
therefore the parameters of the ADDRESS function are ADDRESS(25,1) which returns the cell A25

INDIRECT function now uses the DAY of the date in O25 and the result of the ADDRESS function, so if the selection in O25 is 4/2/2013,
=INDIRECT('2'!A25)

I hope this helps.
 
Upvote 0
INDIRECT function returns the reference specified by the test string while ADDRESS function returns a text representation of a cell address.

In the formula above:
ROW() = 28 *row number of cell N28
COLUMN() = 14 *column number of cell N28
therefore the parameters of the ADDRESS function are ADDRESS(25,1) which returns the cell A25

INDIRECT function now uses the DAY of the date in O25 and the result of the ADDRESS function, so if the selection in O25 is 4/2/2013,
=INDIRECT('2'!A25)

I hope this helps.

That is great. Thank you.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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