IF statement, or better options?

schaelc

New Member
Joined
Oct 9, 2009
Messages
15
Question: I have a summary sheet in my workbook which references pivot tables within the workbook and defined lists to choose from for certain team results. Since doing budget updates I want to toggle a defined list and have my budget comparison summary and graphs to flip over to the update. Would the best option be to create an IF statement referencing the budget update list to grab from a specific pivot table?

Hopefully that makes sense?

Thanks!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
I'm a little uncertain of what your are trying to do, but I've found that if statements can be useful creating a toggle to switch back and forth between two sets of data. Say you have data in B2:B10 and C2:C10. In A2:A10 you want to display one or the other and graph it.

Make a graph that references A2:A10 and then put in the following formula in A2.

Code:
=IF($A$1=1,B2,C2)

Then drag that down to A10 and if you change A1 to "0" or anything else besides "1" then it will display the values in column C.

Not sure if this is what you're going for maybe more details would help?
 
Upvote 0

Forum statistics

Threads
1,224,525
Messages
6,179,314
Members
452,905
Latest member
deadwings

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