excel VBA cores...hold on, almost this

lelebrasa

New Member
Joined
Sep 18, 2014
Messages
3
Guys,
I did find a solution that is close to what I'm looking for but not the ideal.
i need to sum by color but PLEASE WAIT...
I have one column with numbers (no formats, no decimals, no colors etc) let say column "B".

If i need to sum the production by employee, so I will have colors in the columns "C", "D" and "E" for example.

so I need to look in the colors in the column c, d, e whatever and sum with number at column B...got it?

A B C D E F
10 Red yellow green n/a
15 yellow yellow n/a n/a
10 red red green n/a

p.s. doesn't need to say but will, where reads the color name will have the proper color LOL

return will be John (red) = 30 (10+10+10)
peter (yellow) = 40 (10+15+15)
Steve (green) = 20 (10+10)
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
why need coloring. use sumproduct with names or pivot table
post a small extract of data and explain
 
Upvote 0

Forum statistics

Threads
1,203,180
Messages
6,053,956
Members
444,695
Latest member
asiaciara

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