ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel drag down formula not working good.. (https://www.excelbanter.com/excel-worksheet-functions/186765-excel-drag-down-formula-not-working-good.html)

zoola

Excel drag down formula not working good..
 
hi,

i have a formula
=IF(E6="Casual",VLOOKUP('Product Detail'!L6,Types!D4:E14,2,0),IF(E6="Dress",VLOOKUP ('Product Detail'!L6,Types!A4:B12,2,0)))

when i drag it down to the rest of the cells i want only E6 to become E7 and grow each time i drag the formula down.

the problem is when i drag the formula down it becomes like this:
=IF(E7="Casual",VLOOKUP('Product Detail'!L7,Types!D5:E15,2,0),IF(E7="Dress",VLOOKUP ('Product Detail'!L7,Types!A5:B13,2,0)))

everything grew by 1 number.

i tried putting $ signs before each letter but its not working for some reason.

can someone find a problem here in my fomula or excel, am i doing something wrong?

thanks for your time.

AKphidelt

Excel drag down formula not working good..
 
Put $ signs around any values you don't want to grow... so

D5:E15 becomes

$D$5:$E$15

"zoola" wrote:

hi,

i have a formula
=IF(E6="Casual",VLOOKUP('Product Detail'!L6,Types!D4:E14,2,0),IF(E6="Dress",VLOOKUP ('Product Detail'!L6,Types!A4:B12,2,0)))

when i drag it down to the rest of the cells i want only E6 to become E7 and grow each time i drag the formula down.

the problem is when i drag the formula down it becomes like this:
=IF(E7="Casual",VLOOKUP('Product Detail'!L7,Types!D5:E15,2,0),IF(E7="Dress",VLOOKUP ('Product Detail'!L7,Types!A5:B13,2,0)))

everything grew by 1 number.

i tried putting $ signs before each letter but its not working for some reason.

can someone find a problem here in my fomula or excel, am i doing something wrong?

thanks for your time.



All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com