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.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Re: Sum Unique Values (Diff Row & Column ) from Differen

Use a Pivot Table with multiple consolidation ranges.
 

Kamal Subhani

Board Regular
Joined
Jan 26, 2004
Messages
146
Re: Sum Unique Values (Diff Row & Column ) from Differen

Dear Gurus

I am using this

=UNIQUEVALUES(THREED(Sheet1:Sheet2!B1:Z1),1)
Ctrl +shift+Enter

in the range B1:Z1 in the mian Sheet

But all the in all th ecells Quality1 is comming

Plz Help me out

Regards


Kamal
 

Kamal Subhani

Board Regular
Joined
Jan 26, 2004
Messages
146

ADVERTISEMENT

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

For the products in range A2:A100 in the main sheet I am Using this and is working fine

=UNIQUEVALUES(THREED(Sheet1:Sheet10!A2:A100),1)


Plz tell me whats wrong with

=UNIQUEVALUES(THREED(Sheet1:Sheet10!B1:Z1),1)
when I am using it in range B1:Z1 in the main Sheet

Plz also tell me how to sum the product according to the qualities in the sheets

Thanks in advance


Kamal
 

NateO

Legend
Joined
Feb 17, 2002
Messages
9,700
Re: Sum Unique Values (Diff Row & Column ) from Differen

Hello,

The array is valid, it's simply returning the first element eh. Try:

=SUM(UNIQUEVALUES(THREED(Sheet10:Sheet1!B1:Z1),1))

This function does not line up well, in terms of ranges, with what you have posted (i.e., isn't the first row headers?).
 

Kamal Subhani

Board Regular
Joined
Jan 26, 2004
Messages
146

ADVERTISEMENT

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

Let me explain What I am trying tooo again


I sheet 1 I have in cell

B1= Tom
C1=Jill
D1=Marry
E1=Smith


in sheet 2 I have in cell

b1=Jack
C1=Aladin
D1=Richie
E1=Tom
F1=Smith


In the main sheet what should be the formula to display the unique name in the cell B1

b1=Aladin
c1=Jack
d1=Jill
e1=Marry
f1=Richie
g1=Smith
h1=Tom



I hope u peeople understand my Problem

Thanks in advance

Regards

Kamal
 

phantom1975

MrExcel MVP
Joined
Jun 3, 2002
Messages
3,962
Re: Sum Unique Values (Diff Row & Column ) from Differen

I'm afraid it is difficult to understand how you come up with the answers. For example, here is the list of results you wish to have:

b1=Aladin
c1=Jack
d1=Jill
e1=Marry
f1=Richie
g1=Smith
h1=Tom

How do you get Aladin to be the value for B1 if the values for B1 on the other two sheets are Tom and Jack? I'm sure that a formula can be produced, however, I must understand the logic. What data is being compared? How is the decision made to put Aladin in cell B1 on the main sheet?
 

Kamal Subhani

Board Regular
Joined
Jan 26, 2004
Messages
146
Re: Sum Unique Values (Diff Row & Column ) from Differen

I want to be displaye dteh results in the ascending order

Aladin starts with the Alphabet A so it will be in the cell B1 the first cell

Phantom1975 I think u understand me what I am trying tooooo
 

Yogi Anand

MrExcel MVP
Joined
Mar 12, 2002
Messages
11,454
Re: Sum Unique Values (Diff Row & Column ) from Differen

Hi Kamal:

If this is your Sheet1 ...
Book2
BCDE
1Tom
2Jill
3Marry
4Smith
Sheet1


and this is your sheet2 ...
Book2
BCDE
1Jack
2Aladin
3Richie
4Tom
5Smith
Sheet2


then using

=UNIQUEVALUES(THREED(Sheet1:Sheet2!B1:B10),1)

formula in cell B1 of worksheet main will give you ...

Is this what you are looking for?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,097
Messages
5,768,071
Members
425,452
Latest member
htay44

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
Top