VLOOKUP Changing reference cells in autofill

G

Guest

I am attempting to fill a column with this formula

=IF(ISNA(VLOOKUP(B6,Materials!B7:C50,2,FALSE)),0,VLOOKUP(B6,Materials!B7:C50,2,FALSE))

the autofill changes the B7:C50 in each reference and I'd like to keep it
the same all the way down the column.
 
T

Trevor Shuttleworth

=IF(ISNA(VLOOKUP(B6,Materials!$B$7:$C$50,2,FALSE)),0,VLOOKUP(B6,Materials!$B$7:$C$50,2,FALSE))

Regards

Trevor
 
G

Guest

Thanks, I appreciate your help.

Trevor Shuttleworth said:
=IF(ISNA(VLOOKUP(B6,Materials!$B$7:$C$50,2,FALSE)),0,VLOOKUP(B6,Materials!$B$7:$C$50,2,FALSE))

Regards

Trevor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top