Dynamically change data for different scenarios?

rrahman

New Member
Joined
Aug 18, 2015
Messages
5
Hi - I'm trying to create a way for different scenarios for an income statement (table in worksheet 1). I would ideally like to have a drop down list that calls data from worksheet 2 and populates worksheet 1. Help?

The source of scenario data is layed out as follows (table in worksheet 2).

Scenario 1Scenario 2
Revenue
Costs

<tbody>
</tbody>

I then need the data to feed into another income statement (table in worksheet 1) that looks like this
Scenario that I can choose
Revenue
Costs

<tbody>
</tbody>
 

Some videos you may like

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

jorismoerings

Well-known Member
Joined
Jul 4, 2014
Messages
1,263
hi,

try this:
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="text-align: right;;"></td><td style=";">Scenario 1</td><td style=";">Scenario 2</td><td style=";">Scenario 3</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Revenue</td><td style="text-align: right;;">10</td><td style="text-align: right;;">15</td><td style="text-align: right;;">20</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Costs</td><td style="text-align: right;;">5</td><td style="text-align: right;;">6</td><td style="text-align: right;;">7</td></tr></tbody></table><p style="width:3,6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet2</p><br /><br />

<b></b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #BBB"><colgroup><col width="25px" style="background-color: #DAE7F5" /><col /><col /></colgroup><thead><tr style=" background-color: #DAE7F5;text-align: center;color: #161120"><th></th><th>A</th><th>B</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="text-align: right;;"></td><td style=";">Scenario 1</td></tr><tr ><td style="color: #161120;text-align: center;">2</td><td style=";">Revenue</td><td style="text-align: right;;">10</td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style=";">Costs</td><td style="text-align: right;;">5</td></tr></tbody></table><p style="width:3,6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #BBB;border-top:none;text-align: center;background-color: #DAE7F5;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #BBB"><thead><tr style=" background-color: #DAE7F5;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">B2</th><td style="text-align:left">=INDEX(<font color="Blue">Sheet2!$B$2:$D$3,MATCH(<font color="Red">$A2,Sheet2!$A$2:$A$3,0</font>),MATCH(<font color="Red">B$1,Sheet2!$B$1:$D$1,0</font>)</font>)</td></tr><tr><th width="10px" style=" background-color: #DAE7F5;color: #161120">B3</th><td style="text-align:left">=INDEX(<font color="Blue">Sheet2!$B$2:$D$3,MATCH(<font color="Red">$A3,Sheet2!$A$2:$A$3,0</font>),MATCH(<font color="Red">B$1,Sheet2!$B$1:$D$1,0</font>)</font>)</td></tr></tbody></table></td></tr></table><br />
 

Watch MrExcel Video

Forum statistics

Threads
1,099,460
Messages
5,468,777
Members
406,608
Latest member
G3TEN

This Week's Hot Topics

Top