Sum Unique Values (Diff Row & Column ) from Different Sh

Kamal Subhani

Board Regular
Joined
Jan 26, 2004
Messages
146
Book1
ABCD
1ProductQuality1Quality3Quality4
2A101010
3B202010
4F301010
5E102030
Sheet1
Book1
ABCD
1ProductQuality3Quality2Quality5
2C101010
3D202010
4A301010
Sheet10
Book1
ABCDEF
1ProductQuality1Quality2Quality3Quality4Quality5
2A1040101010
3B20201000
4C01001010
5D02002010
6E10203000
7F30101000
Main



In actual I have more than 10 sheets.

In the main sheet the Unique Products and the Unique quality will be displayed with the help of the formula

In the main sheet the total of each product according to qualties should be dispalyed


Plz help.

I think u undertand my problem.
 
Re: Sum Unique Values (Diff Row & Column ) from Differen

As I am not expert in the Pivot Table I have to do a lot of calculation work on the data ain the Main sheet (Now in which Pivot Table is residing)

My problem has been to some extent solved But till I am not able to do the Calculation so Plz I am requesting all the Excel MVPs here to Plz tell me the formula to do this without using the Pivot Table approach

for summarizing the unique Values in Column A I have used the following Array Formula by Aladin and Yogi Anand
=UNIQUEVALUES(THREED(Sheet1:Sheet2!A2:A20),1)

for summarizing Unique values In the Range B1:J1 in The main sheet I ahev used the array formula by again Aladin

=INDEX(UNIQUEVALUES(THREED(Sheet1:Sheet2!$1:$1),1),COLUMN()-COLUMN($B$1)+1)


Now in the last Part I want to get the total for each Qualitry according to the Product in the Main Sheet


Hope that U people understanfd my problem and will help me out of this trouble.

Regards


Kamal
 
Upvote 0

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Re: Sum Unique Values (Diff Row & Column ) from Differen

Kamal Subhani said:
As I am not expert in the Pivot Table I have to do a lot of calculation work on the data ain the Main sheet (Now in which Pivot Table is residing)

My problem has been to some extent solved But till I am not able to do the Calculation so Plz I am requesting all the Excel MVPs here to Plz tell me the formula to do this without using the Pivot Table approach

for summarizing the unique Values in Column A I have used the following Array Formula by Aladin and Yogi Anand
=UNIQUEVALUES(THREED(Sheet1:Sheet2!A2:A20),1)

for summarizing Unique values In the Range B1:J1 in The main sheet I ahev used the array formula by again Aladin

=INDEX(UNIQUEVALUES(THREED(Sheet1:Sheet2!$1:$1),1),COLUMN()-COLUMN($B$1)+1)


Now in the last Part I want to get the total for each Qualitry according to the Product in the Main Sheet


Hope that U people understanfd my problem and will help me out of this trouble.

Regards


Kamal
Hi Kamal:

Let us see if this is what you are looking for ...

The formula in cell B2 is ... =COUNTIF.3D(Sheet1:Sheet2!$B$1:$Z$1,B1)

and this is then copied to cells B3 to Z3

so for reference sheet1 looks like ...
y040203h1a.xls
BCDEFGHIJK
1TomJillMarrySmith
Sheet1


and sheet2 looks like ...
y040203h1a.xls
BCDEFGHIJK
1JackAladinRichieTomSmith
Sheet2


I hope this helps!
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Just a minor query.

Formula Looks Excellent.

When trying to Filter Unique Phrases, do the Phrases need to be within Quotes ( "Dropped Call" as an example ) so that the number of unique Phrase, and also how many times the Phrase occurs, can be counted?

The Phrases will be in Columns, and basically I want to produce a summary of the unique Phrases.

Some Cells will be empty. Some Will have one word, some will have a word string, or maybe better described as a series of Phrases, separated by a comma (,).




Ta

(y)
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Mmm, well I was hoping to capialise on the basis of this thread and extend it a little.

Summing up Unique names is not as simple as I thought, especially in columns, anyway... if you know of a basic formula, or a thread that covers this, would be much appreciated.

Ta

(y)
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Hi santeria:

How about posting a sample of ...

1. data you are working with
2. what formulation have you tried
3. what result did you get
4. what do you think is the correct result with an explanation of why you think that is the correct result

and then let us take it from there!

NB: so as not to muddy the water with the matter of the original thread -- you might even consider starting a new thread.
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Yogi Anand said:
Kamal Subhani said:
As I am not expert in the Pivot Table I have to do a lot of calculation work on the data ain the Main sheet (Now in which Pivot Table is residing)

My problem has been to some extent solved But till I am not able to do the Calculation so Plz I am requesting all the Excel MVPs here to Plz tell me the formula to do this without using the Pivot Table approach

for summarizing the unique Values in Column A I have used the following Array Formula by Aladin and Yogi Anand
=UNIQUEVALUES(THREED(Sheet1:Sheet2!A2:A20),1)

for summarizing Unique values In the Range B1:J1 in The main sheet I ahev used the array formula by again Aladin

=INDEX(UNIQUEVALUES(THREED(Sheet1:Sheet2!$1:$1),1),COLUMN()-COLUMN($B$1)+1)


Now in the last Part I want to get the total for each Qualitry according to the Product in the Main Sheet


Hope that U people understanfd my problem and will help me out of this trouble.

Regards


Kamal
Hi Kamal:

Let us see if this is what you are looking for ...

....

{=TRANSPOSE(UNIQUEVALUES(THREED(Sheet1:Sheet2!B1:Z1),1))}


The formula in cell B2 is ... =COUNTIF.3D(Sheet1:Sheet2!$B$1:$Z$1,B1)

and this is then copied to cells B3 to Z3

...

It's not counting but summing he looks for.

The thing is that a conditional 3d summing is not a problem. The OP has been told how many times. Apart from being a costly business, there is a bigger problem. The 3d formulas require identical layout in every sheet of interest. The OP's sheets are not identical in layout (surfaced up in this thread). So, a SumProduct formula with THREED (or the alternative that I posted in one of these interminable threads regarding OP's question) will not work at all for the fields of interest, say Quality7, do not occupy the same range in every sheet (Quality7 may even be absent altogether in some sheets).

I still maintain that Andrew's suggestion is the only game in town, regarding OP's question.
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Okay.
Probably should have a new thread.
I guess after seeing this one I saw some parallels.

The file I am using is at work( I'm home right now :eek: )

It's sort of trend Analysis using text in the file I am trying to sort out.
No messy Numerical data with odd formatting :)

Just reports with comments, and I have to provide Trainers and Managers with a look at the monitoring analysis.

So the powers that be want to know how many times a problem arises in monitoring, and then management talks to trainers and etc... and they do whatever it is that they do to get the Phone Operators back into the land of the righteous, and out of the wilderness ...

For ever and Ever Amen...

:LOL:
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

"Probably should have a new thread. "

Yep :) A specific question also wouldn't go amiss!
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Granted I was maybe vague.
But since this thread is about "Sum Unique Value" and I was talking about Text Values, and sorting that for trend analysis, I thought that was sufficient ... Evidently not.

"Liberate tutume ex infernis"

:devilish:

PaddyD said:
"Probably should have a new thread. "

Yep :) A specific question also wouldn't go amiss!
 
Upvote 0
Re: Sum Unique Values (Diff Row & Column ) from Differen

Thanks all for replying

But still My problem not solved.Plz tell me what to do

Plz favour all the experts Gurus and MVPs in this forum.


For Gods sake


Kamal
 
Upvote 0

Forum statistics

Threads
1,215,221
Messages
6,123,701
Members
449,117
Latest member
Aaagu

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