Formula question w/couple criterias,using sumif

calientepepper1976

New Member
Joined
May 26, 2011
Messages
2
Hi,
I'm using sumif to look for a clientID with the same number and then returning the total value and adding them if there are more than 2. There are some that have more than one and I want the total not the 1st one so I used:
=SUMIF('2010'!$A$2:$A$967,$A16,'2010'!$AC$2:$AC$967)
Column A has Client ID's and column AC has a % of marketshare

This works for what I need, BUT there are a few that are at 100% with just one already so if there are more than 2 it brings back a value of 200%, 300% or 400%, etc. If it's more than 100%, I only want it to return a value of 100%.

Any suggestions?

Thank you!
 

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
Hi,
I'm using sumif to look for a clientID with the same number and then returning the total value and adding them if there are more than 2. There are some that have more than one and I want the total not the 1st one so I used:
=SUMIF('2010'!$A$2:$A$967,$A16,'2010'!$AC$2:$AC$967)
Column A has Client ID's and column AC has a % of marketshare

This works for what I need, BUT there are a few that are at 100% with just one already so if there are more than 2 it brings back a value of 200%, 300% or 400%, etc. If it's more than 100%, I only want it to return a value of 100%.

Any suggestions?

Thank you!
If I understand what you want, try this...

=MIN(100%,SUMIF('2010'!$A$2:$A$967,$A16,'2010'!$AC$2:$AC$967))
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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