formula question

hschussler

New Member
Joined
Jan 4, 2007
Messages
7
Is there a quicker way to write this formula rathe than clicking on each cell?

thanks,


=IF(($J$18=1),F36,if($J$18=2),G36,if($J$18=3),H36,if($J$18=4),I36,if($J$18=5),J36,if($J$18=6),K36,if($J$18=7),L36,if($J$18=8),M36,if($J$18=9),N36,if($J$18=10),O36,"")
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
if J18 only ever contains a value between 1 and 10 try this: still have to click on each cell but it's easier to write

=CHOOSE($J$18,F36,G36,H36,I36,J36,K36,L36,M36,N36,O36)
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,214
Members
449,074
Latest member
cancansova

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