how to replace part of the formula(long one) with a short phrase or text

ansvk1

Board Regular
Joined
Oct 6, 2017
Messages
74
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
Hi there,
I have been searching for the way of replacing a part of the long nested formula with a short phrase for a part of it and use this short phrase as the replacement for that long formula.

I know that i have seen a youtube video from Mr. Excel (Bill) on this few months back, but cannot find it now. Here is how it looks like.

For example:
if i have a nested formula for =IF((Vlookup(A2, E2:G200, 3,False)<=30,"A","B")
and i wanted to add more nested formulas inside it and wanted to replace (Vlookup(A2, E2:G200, 3,False) with a short phrase/name (like Vlook1) or something. How to do it?

thanks for your help!!
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,544
Office Version
  1. 365
Platform
  1. Windows
What version of Excel are you using?
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 

ansvk1

Board Regular
Joined
Oct 6, 2017
Messages
74
Office Version
  1. 2019
  2. 2013
Platform
  1. Windows
What version of Excel are you using?
I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
I have MS office 2013, 2019.
Thanks
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,544
Office Version
  1. 365
Platform
  1. Windows
Ok, you don't have the LET function, so you will need to use the "Name Manager" and put the vlookup formula in the Refers to box and then you can use the name in your formula.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,514
Messages
5,636,785
Members
416,941
Latest member
shazzaxyz

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
Top