Sum If formula between two sheets.

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,286
Office Version
  1. 2013
Platform
  1. Windows
[TABLE="width: 1263"]
<tbody>[TR]
[TD="class: xl63, width: 54"]January[/TD]
[TD="class: xl63, width: 70"]Dept.[/TD]
[TD="class: xl63, width: 116"]Name & Surname[/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"]OFF[/TD]
[TD="class: xl64, width: 33"][/TD]
[TD="class: xl64, width: 33"][/TD]
[/TR]
</tbody>[/TABLE]

Good Day,
I have huge list like given above all the way down from the columns A to AH those datas located on the sheet named "list"
I need to put a table to another sheet like below to show all persons OFF dates for each mnth from the A1:M100
A1 text will be written OFF and below cells with name and surnames as given table....

[TABLE="width: 858"]
<colgroup><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>[TR]
[TD]OFF[/TD]
[TD]JANUARY[/TD]
[TD]FEBRUARY[/TD]
[TD]MARCH[/TD]
[TD]APRIL[/TD]
[TD]MAY[/TD]
[TD]JUNE[/TD]
[TD]JULY[/TD]
[TD]AUGUST[/TD]
[TD]SEPTEMBER[/TD]
[TD]OCTOBER[/TD]
[TD]NOVEMBER[/TD]
[TD]DECEMBER[/TD]
[/TR]
[TR]
[TD]NAME & SURNAME[/TD]
[TD]8[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]


[/TD]
[/TR]
</tbody>[/TABLE]
So, the formula will start from B2


Thanks
 
Last edited:

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
1. Does the 'Name & Surname' column in each sheet contain the same names in the same order?

2. If not, does the 'other sheet' have a list of names in column A or are you asking for a formula for that too?

3. Does either sheet contain duplicate names in the 'Name & Surname' column?

4. What version of Excel are you using?
 
Upvote 0
Hi,
Fixed, thanks.
Code:
=SUM(IF(list!$C$1:$C$4997=$A2,IF(list!$A$1:$A$4997=B1,IF(list!$D$1:$AH$4997=$A$1,1))))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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