dennisli828
New Member
- Joined
- Jul 10, 2011
- Messages
- 9
So my boss ask me to find the data for S&P 500 in different time frame and put it on separate sheets, he also want me to make a main page so that he can choose different time frame with a button, and the corresponding sheet will pop out. I have been trying to figure this out with nested IF but excel said my function exceeded the limit. So I decide to just using the array formula and show "daily" if he chooses "daily". Of course, I highlight the entire column but say for annual data, the length is much shorter and therefore there will be alot of #N/A s. Nobody know how to deal with that?I wanna leave it blank or get rid of it. I have copied my formula, any suggestions? (daily, weekly etc are the names for the data table)
={IF($B$1="daily",daily,IF($B$1="weekly",weekly,IF($B$1="monthly",monthly,IF($B$1="quarterly",quarterly,IF($B$1="annually",annually," ")))))}
you can see the snapshot on:
https://picasaweb.google.com/dennisli828/Jul142011?authkey=Gv1sRgCKOy6r7Tz5qbVg#5629228931035234978
={IF($B$1="daily",daily,IF($B$1="weekly",weekly,IF($B$1="monthly",monthly,IF($B$1="quarterly",quarterly,IF($B$1="annually",annually," ")))))}
you can see the snapshot on:
https://picasaweb.google.com/dennisli828/Jul142011?authkey=Gv1sRgCKOy6r7Tz5qbVg#5629228931035234978