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

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,022
Messages
5,834,994
Members
430,331
Latest member
Syed Yasir Hannan

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
Top