Avatar of vkani
vkani
Flag for India asked on

Excel sheet formula auto-fill

Hi,
I have 3 sheets in an Excel file. On the second sheet, there's a 'total' row (9th row). On the first sheet, there are nearly 3500 rows of data.
On the third sheet, I want to produce each row in the 1st sheet, multiplied by the 9th row on the second sheet. I use formula to do this multiplication. For the first cell on Sheet3, i.e B2, the formula is something like this

='Sheet1'!B2*'Sheet2'!B9
Formula for C2='Sheet1'!C2*'Sheet2'!C9
.
.
.
Formula for Z2='Sheet1'!Z2*'Sheet2'!Z9

After filling the formula for B2, I just drag it sideways to auto-fill the other cells upto Z2. It works fine.
The problem starts when I drag the formula downwards. For example, when I drag it from B2 to B3, I get something like this.
 
='Sheet1'!B3*'Sheet2'!B10
But I want the same row on sheet2 to be multiplied with each row in Sheet1. i.e, I want
='Sheet1'!B3*'Sheet2'!B9 instead of ='Sheet1'!B3*'Sheet2'!B10.

I want the cell number to be incremented in sheet 1, but not in sheet 2.
Is there any way to do this?
Did I make my point clear?
Microsoft ExcelMicrosoft Office

Avatar of undefined
Last Comment
Rgonzo1971

8/22/2022 - Mon
Shums Faruk

It would be helpful, if you provide sample workbook with expected result.
ASKER CERTIFIED SOLUTION
Rgonzo1971

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Saqib Husain

Try

='Sheet1'!B3*'Sheet2'!B$9
Tahir Qureshi

You have to use ='Sheet1'!B2*'Sheet2'!B$9.  "$" means that cell value is fixed so it will not change
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
vkani

ASKER
Thank you Rgonzo1971. It works. I accepted your answer.
Thank you Saqib Husain, Syed - your answer came just 1 min after I got the solution. :)
Rgonzo1971

Not yet accepted though
Rgonzo1971

Accepted Solution according to Author's comment
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.