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

#### Kamal Subhani

##### Board Regular
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

#### Kamal Subhani

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

Plz help me Excel Gurus .

#### Andrew Poulsom

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

Use a Pivot Table with multiple consolidation ranges.

#### Kamal Subhani

##### Board Regular
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

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

Kamal

#### NateO

##### Legend
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

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
D1=Richie
E1=Tom
F1=Smith

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

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

I hope u peeople understand my Problem

Regards

Kamal

#### phantom1975

##### MrExcel MVP
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:

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
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
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
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?

Replies
7
Views
342
Replies
0
Views
201
Replies
4
Views
294
Replies
0
Views
229
Replies
3
Views
287

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.

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.

### Which adblocker are you using?

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

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