searching and combining same value

kayza

Board Regular
Joined
Apr 29, 2015
Messages
61
Office Version
  1. 2007
Platform
  1. Windows
Hi excel master
I need help solving cases looking for and combining and also sum the same data from my sales report.

and here is my sample data
[table="width: 200, class: grid, align: left"]
[tr]
[td][/td]
[td]A[/td]
[td]B[/td]
[td]C[/td]
[td]D[/td]
[td]E[/td]
[td]F[/td]
[td]G[/td]
[/tr]
[tr]
[td]1[/td]
[td]apple[/td]
[td]manggo[/td]
[td]banana[/td]
[td]orange[/td]
[td]apple[/td]
[td]apple[/td]
[td]banana[/td]
[/tr]
[tr]
[td]2[/td]
[td]orange[/td]
[td]peach[/td]
[td][/td]
[td]apple[/td]
[td]peach[/td]
[td]banana[/td]
[td]apple[/td]
[/tr]
[tr]
[td]3[/td]
[td][/td]
[td]apple[/td]
[td][/td]
[td]banana[/td]
[td][/td]
[td][/td]
[td]peach[/td]
[/tr]
[tr]
[td]4[/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td]orange[/td]
[/tr]
[tr]
[td]5[/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]

and here is the result I want to get
[table="width: 200, class: grid, align: left"]
[tr]
[td]J[/td]
[td]K[/td]
[td]L[/td]
[/tr]
[tr]
[td][/td]
[td]apple[/td]
[td]6[/td]
[/tr]
[tr]
[td][/td]
[td]banana[/td]
[td]4[/td]
[/tr]
[tr]
[td][/td]
[td]manggo[/td]
[td]1[/td]
[/tr]
[tr]
[td][/td]
[td]orange[/td]
[td]3[/td]
[/tr]
[tr]
[td][/td]
[td]peach[/td]
[td]3[/td]
[/tr]
[tr]
[td][/td]
[td][/td]
[td][/td]
[/tr]
[/table]



any help would be appreciated

thanks in advance
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Just use a simple COUNTIF.
So, if "apple" is in cell K1 and you want to return the count of "apple" in L1, enter this formula in L1:
Code:
=COUNTIF($A$1:$G$5,K1)
and copy the formula down for your other values.
 
Upvote 0

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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