[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 395
  • Last Modified:

How to create a formula using absolute and mixed cell references in Excel 2010?

I need to create a formula to calculate the percentage of the total for B4 using absolute and mixed cell references with the result in H4. I then need to copy the formula from H4 to I4:J4 to get the percentages for C4 and D4. After that I need to copy the formulas from H4:J4 to H5:J14. How do I do that?

    B4            C4            D4          E4 (total of B4-D4)
    31           68           77                   176
0
Barbara69
Asked:
Barbara69
  • 2
  • 2
  • 2
  • +1
1 Solution
 
Saqib Husain, SyedEngineerCommented:
You would need

=A4/$D4%

in H4
0
 
Naresh PatelTraderCommented:
Hi Barbara69 and Mr. Saqib,

I guess =A4/$E4% in H4

See attached file


Thanks
Sum-and-percentage.xlsx
0
 
Rob HensonIT & Database AssistantCommented:
Neither of the above refer to B4 as requested. The formula in H4 would be:

=B4/$E4

Format as percentage.

To allow for E4 being zero:

=IF($E4=0,0,B4/$E4)

When copying across the reference to B will change but the reference to E will stay the same. When copying down the reference to row 4 will change.

Thanks
Rob H
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
Barbara69Author Commented:
RobHenson,

Isn't your answer considered relative and mixed references? Is there a way to do the calculation using absolute and mixed references?
0
 
Saqib Husain, SyedEngineerCommented:
Absolute reference: address never changes, $ sign with both row and column address

Mixed reference: only one of row and column address changes, $ sign with either row or column address

Relative address: both row and column change, no $ sign



I do not think you need absolute reference in your calculations.

An example of use of absolute reference could be currency conversion rate. This would be any defined cell and this cell would be referred to from anywhere in the spreadsheet. This is where you would expect an "Absolute reference".
0
 
Rob HensonIT & Database AssistantCommented:
To include an absolute reference in this question (which is getting to sound like homework by the way!) would be to reference a further cell for diving by 100 to convert to percentage, eg:

=IF($E4=0,0,B4/$E4)/$F$1

Where F1 contains 100

Thanks
Rob
0
 
Barbara69Author Commented:
Thanks Rob.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now