Condense multiple Formula's into 1

mecheet

Board Regular
Joined
Apr 21, 2010
Messages
117
I have 4 formulas that are being used to get me a value that i require.

They sit in 4 columns side by side, is it possible to have these reduced into a more manageable formula?

AD5
=VLOOKUP(F5,notes!A8:B43,2,FALSE)+7

AE5
=VLOOKUP(AD5,notes!B8:C43,2,FALSE)

AF5
=ISERROR(AE5)

AG5
=IF(AF5=FALSE,AE5,"")

Thanks
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi,

Try -

=IF(ISERROR(VLOOKUP(VLOOKUP(F5,notes!A8:B43,2,FALSE)+7,notes!B8:C43,2,FALSE))=FALSE,VLOOKUP(VLOOKUP(F5,notes!A8:B43,2,FALSE)+7,notes!B8:C43,2,FALSE),"")

All i've done there is simply put each formula into the one below to make it all fit in one cell.
 
Upvote 0
Thanks for that, i wasnt aware that placing an = mid formula would allow a totally seperate forumla to be run based on the previous output.
 
Upvote 0

Forum statistics

Threads
1,196,514
Messages
6,015,643
Members
441,913
Latest member
Lhayden_69

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