Using workseet cell as a formula

hnetel

New Member
Joined
Nov 22, 2005
Messages
4
I have a spreadsheet with many rows and columns. In one cell (let's call this cell A1) I calculate a percentage, that is based on the content of most cells in the spreadsheet and one more cell (let's call this cell B1). In order to get the percentage (value of cell A1) for different values in cell B1 I could change the number in B1, record the value in A1, change B1, record A1, change B1, etc. etc.

What I would like to do instead is to generate a column with different values of cell B1, let's call these cells C1:C100 and have these feed into B1 and then in D1:D100 it would show the results of what would be in A1 ....... follow?

Is there anyway to do this without writing VBA and just plain Excel equations?
Any help would be appreciated.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Perhaps this is what you want:

In A1 you have "the average of most cells"
In F1, you have the number of "most cells"
In D1, enter =IF(C1="","",(A$1*F$1+C1)/(F$1+1)), and copy down.
In C1, enter the "B1" values you talked about.
You should see the answers in column D.
 
Upvote 0

Forum statistics

Threads
1,215,759
Messages
6,126,722
Members
449,332
Latest member
nokoloina

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