steve400243

Active Member
Joined
Sep 15, 2016
Messages
429
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello Forum, I am trying to get this formula to sum column F, if column A has a 1 and Column N also has a 1.

Code:
=countifs(‘Receipt Report’!$F:$F,’Receipt Report’!$A:$A,”1”,’Receipt Report’!N:N,”1”)

Thank you for any help provided.
 
I greatly appreciate your help on this formula. Col A would be the same for some rows, but would be different numbers. Not just "A123". could be that for several rows, then "B456", for example, for several rows.

.
 
Last edited:
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
In Q1 enter and copy down:

=SUMIFS('Receipt Report'!F:F,'Receipt Report'!A:A,"A123",'Receipt Report'!N:N,P1)

where P1 = 1, P2 = 2, and P3 = 3.
 
Upvote 0
In Q1 enter and copy down:

=SUMIFS('Receipt Report'!F:F,'Receipt Report'!A:A,"A123",'Receipt Report'!N:N,P1)

where P1 = 1, P2 = 2, and P3 = 3.

Aladin, thank you. The container number in col A on the Receipt report would vary, it could be the same for several rows, then change. Col N would always be 1,2, or 3
 
Upvote 0
Aladin, thank you. The container number in col A on the Receipt report would vary, it could be the same for several rows, then change. Col N would always be 1,2, or 3

If you are unsure how to organize your conditions, just follow the suggestion below:

P1 = 1, Q1 = 2, and R1 = 3

O2 = A123

O3 = B456

etc.

In P2 enter, copy across to R2, and down:

=SUMIFS('Receipt Report'!$F:$F,'Receipt Report'!$A:$A,$O2,'Receipt Report'!$N:$N,P$1)
 
Upvote 0
Aladin, That works as needed! Thanks very much for your time, and this formula. Have a great day!
 
Upvote 0

Forum statistics

Threads
1,215,040
Messages
6,122,806
Members
449,095
Latest member
m_smith_solihull

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