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.
 

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.
 

Forum statistics

Threads
1,082,099
Messages
5,363,129
Members
400,720
Latest member
Pettel

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top