drag down formula with only some incrementing

hitch_hiker

Active Member
Joined
Feb 21, 2012
Messages
294
I want to drag a formula to create a column, but I need some cell references to change as I drag , and some not to
=IF(ISTEXT(A2),VLOOKUP(A2,'ingredients & components'!A2:E100,5,FALSE),""), the red A2 needs to increment , but the range a2:e100 needs to stay the same , I think I need to use $a$2 but I do not know where , every book I have read makes it more confusing than it needs to be
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Try

=IF(ISTEXT(A2),VLOOKUP(A2,'ingredients & components'!A$2:E$100,5,FALSE),"")
 
Upvote 0
Thanks VOG,
this has been one of my pains, you don't want to know how many times I've had to spend hours changing a range.
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,512
Members
449,167
Latest member
jrob72684

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