Difficulties With Formula

meppwc

Well-known Member
Joined
May 16, 2003
Messages
626
Office Version
  1. 365
Platform
  1. Windows
Can someone please assist with this?
If the value in column A="301", then sum column G, divided by, sum column K
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
What exactly are the difficulties you are having?

I would use something like this:

=IF(A2=301,SUM(G2:G100)/SUM(K2:K100),"")
 
Last edited:
Upvote 0
Does 301 occur just once in A or multiple times? If the latter try to post a tiny sample from A, followed by a corresponding sample from G, and followed by a corresponding sample from K, along with the expected result for 301 fot these three column sample.
 
Upvote 0
Thank you all...........based on this discussion I was able to figure out the formula that I needed using SUMIF............I used several cells but it worked.. .....P2 points at the "301" value

Q2: =SUMIF(A:A,P2,G:G) -- (419287)
R2: =SUMIF(A:A,P2,K:K) -- (5040000)
S2: =Q2/R2 -- (8%)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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