Excel challenge

I have a large model that depends mostly on two parameters. The results are displayed in 3 different ways on 3 different sheets, each revealing/highlighting a different aspect. I would like to allow the user to change the two parameters on any one of the 3 output sheets - whichever one he is looking at. How can I do this?

Combining the 3 output sheets and then hiding the un-needed ouput results is not possible, and macros are not allowed.

Comments?

12 Comments
 

hm...when the user changes the two parameters on one sheet, should they get changed for the other two as well? meaning, are the two parameters being varied the same across the three sheets?

 

Yeah, thats the idea. So across the three sheets (and in the actual model/calculation) the parameters should change when the user changes them on any one of the three sheets.

 

hey bud, i'm back. ok, in that case, i think it is easiest to use macros.

VBA will be the easiest way to go about it because you want the parameters to be set by the latest inputs, i.e., in whichever sheet you updated most recently .

someone else help this guy out if they can do it without vba.

 

Hey, thank you for the input. Unfortunately, the intended recepients can not accept anything with VBA due to security issues.

I guess it comes down to figuring out which cell of a number of cells changed last in a spreadsheet. I am trying to figure that out with circular references right now, but no luck yet.

Anyone with experience doing this?

 
Best Response

I'm assuming there's a reason you can't make a clean, simple, input page? To me it doesn't seem like too much to ask for a client to figure that out. You can also lock them out of all the other cells so they don't mess anything up.

If not, and macros are out of the question, the only thing I can think of is using a bunch of binary "on/off" cells to make sure the input on the current sheet gets sent through the model. For example, you can set your 2 paramaters on each output page and then have a cell next to them that is either 1 or 0. Your model runs the sumproduct of each of the 3 pages and the 1/0 switch next to them. The main problem with this is that the user has to remember to turn one output sheet "off" before they turn another one "on" and try to change the parameters there.

 

i thought of something similar, but assumed OP wants his end-user to not have to "fix" the other sheets when changing the parameters on one. OP asks too much! especially when he disqualifies VBA... if he is wiling to go to other sheets to make adjustments, he might as well visit an input sheet.

 

Hey guys, thanks for your thoughts. This is due tomorrow by noon, and it's not 100% required to work as described. Someone asked in a meeting if it could be done, and after someone said it's impossible, my VP said that I could probably do it. So I guess it's a bit of a challenge to me.

Anyway, I liked what Downtown described in principle, but practically speaking I think that the binary switches would be more confusing and harder to use than a simple plain input sheet. I am still trying to figure out if I can use circular references (set to 1 iteration, auto calc) to flip those binary switches.

I remember a few years ago I saw an example online of how to use circular references to count the number of times a cell changes. The idea seems straightforward - set a cell (say D5) equal to where the user types over the parameter (say D1) and in D2 put a check to see if D1=D5. When being re-calced, Excel will (hopefully) go down the rows (if I remember correctly, it goes down entire rows when iterating). The user updated D1, triggering the re-calc, but when Excel gets to D2 it will be false, since D5 has not yet been re-calced, so when D2 is false I need to short-circuit a counter cell (D3 for example) to increase it by 1 (hence the 1 iteration). To do so, I set D4 = D3 and D3 = if(D2 = false, D4 + 1, D4). Simple as it sounds, I can't seem to get it to work. Maybe I just need to step back a bit.

Now I can't find where online I saw it, but if I could figure it out then I could probably use that to see which cell was changed last, and refer to it.

Anyways if you guys don't know then don't worry about it, but thanks for your efforts. I thought someone might just happen to remember the trick. That, and I know I always find an Excel puzzle of this sort interesting, so I figured someone on here might enjoy it as well.

Thanks again. -Excel-ignorant monkey.

 

Another way is to insert a data table on a 4th sheet and then have the output formulas on each of the scenario sheets that utilize the 2 parameters, pull the value from the data table rather than the parameter input cell on the scenario sheet.

In other words, when you change a cell on one of the 3 scenario sheets, the data table cell on the 4th sheet that is used in calculations will take on that value. Since formulas on each scenario sheet point to the global data table cells instead of the scenario sheet input cells, the outputs formulas will "see" the value of the parameter cell that was last changed.

You will need to enable iterative calculations for this to work of course.

 

Combo boxes... you just select the values from the list, and you just need the numbers to be in one of the sheets, no circular references I use it a lot for scenario analysis

absolutearbitrageur.blogspot.com
 

HF, thank you, combo boxes seems to be the right answer. Very easy to set up - just make them all point to the same cell, and they all change values together. Elegant as well, and I don't imagine it slowing anything down as iterative calculation might have. Only issue is discrete inputs, but I think that's acceptable.

Just out of curiousity, in what other circumstance would one use combo boxes? What are they made for? Are they a relic of Excel 95 or something? Seems like an overly complicated way of making dropdowns. I guess they don't occupy a cell though, which might have it's own advantages.

Thanks WSO, you just made my day.

 

Ipsa a autem necessitatibus aut aperiam. Nemo ut eos excepturi quaerat. Nihil id in exercitationem ea ea aut optio suscipit. Nihil voluptas fuga sequi commodi iure.

Quia consequatur quo voluptas et. Blanditiis ex rerum quia perspiciatis tempora. Et minus consequatur cum voluptatem aut impedit. Cum saepe et modi non sit sint. Omnis perferendis numquam qui sit ipsum.

Sunt voluptatum voluptas voluptas repellendus distinctio sequi. Ipsa non repellat omnis. Rem expedita qui soluta maxime magnam doloremque inventore. Officia officiis rerum est porro.

Nulla molestias repellat sed mollitia repudiandae voluptates. Eos sunt tempore enim provident rerum magni. Voluptatem eum corrupti consequatur et. Sunt non aspernatur explicabo quo. Animi explicabo tenetur quaerat laborum ea.

Career Advancement Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • JPMorgan 01 98.2%
  • Guggenheim Partners 01 97.7%
  • Morgan Stanley 07 97.1%

Overall Employee Satisfaction

June 2026 Investment Banking

  • Moelis & Company No 99.4%
  • Morgan Stanley 02 98.8%
  • Evercore 01 98.2%
  • BMO Capital Markets 12 97.6%
  • Banco Santander 01 97.1%

Professional Growth Opportunities

June 2026 Investment Banking

  • Evercore 01 99.4%
  • Moelis & Company 01 98.8%
  • Morgan Stanley 05 98.2%
  • JPMorgan No 97.7%
  • BMO Capital Markets 12 97.1%

Total Avg Compensation

June 2026 Investment Banking

  • Vice President (14) $434
  • Associates (43) $259
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (22) $179
  • Intern/Summer Associate (13) $156
  • 1st Year Analyst (77) $151
  • Intern/Summer Analyst (71) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
BankonBanking's picture
BankonBanking
99.0
3
Secyh62's picture
Secyh62
99.0
4
kanon's picture
kanon
99.0
5
DrApeman's picture
DrApeman
98.9
6
dosk17's picture
dosk17
98.9
7
Betsy Massar's picture
Betsy Massar
98.9
8
GameTheory's picture
GameTheory
98.9
9
CompBanker's picture
CompBanker
98.9
10
Linda Abraham's picture
Linda Abraham
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”