Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I have some data N O P Q TD (Y/N) Value VAT Total Val Y £71.44 £10.72 £82.16 4 N £71.44 £10.72 £82.16 5 N £84.08 £12.61 £96.69 6 Y £84.08 £12.61 £96.69 N £102.85 £15.43 £118.28 N £34.22 £5.13 £39.35 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £84.08 £12.61 £96.69 N £84.08 £12.61 £96.69 Y £84.08 £12.61 £96.69 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 44 0 £700.35 £105.05 £805.40 46 Recharges 48 What I need is a formula to add up the values in Q4:Q44 but only if the corresponding value in the N column is Y. Every formula ive tried always seems to come back with an error. Thanks in advance. Alex |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hi Bishkan,
Try: =sumif(N4:n44,"Y",Q4:Q44) Judith -- Hope this helps "Bishkan" wrote: Hi, I have some data N O P Q TD (Y/N) Value VAT Total Val Y £71.44 £10.72 £82.16 4 N £71.44 £10.72 £82.16 5 N £84.08 £12.61 £96.69 6 Y £84.08 £12.61 £96.69 N £102.85 £15.43 £118.28 N £34.22 £5.13 £39.35 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £84.08 £12.61 £96.69 N £84.08 £12.61 £96.69 Y £84.08 £12.61 £96.69 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 44 0 £700.35 £105.05 £805.40 46 Recharges 48 What I need is a formula to add up the values in Q4:Q44 but only if the corresponding value in the N column is Y. Every formula ive tried always seems to come back with an error. Thanks in advance. Alex |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Well, you haven't told us which formulae you have tried and what errors they
came back with, so it's not easy for us to tell you what you did wrong. Was one of the formulae =SUMIF(N2:N42,"Y",Q2:Q42) ? If so, what error did it give? -- David Biddulph "Bishkan" wrote in message ... Hi, I have some data N O P Q TD (Y/N) Value VAT Total Val Y £71.44 £10.72 £82.16 4 N £71.44 £10.72 £82.16 5 N £84.08 £12.61 £96.69 6 Y £84.08 £12.61 £96.69 N £102.85 £15.43 £118.28 N £34.22 £5.13 £39.35 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £84.08 £12.61 £96.69 N £84.08 £12.61 £96.69 Y £84.08 £12.61 £96.69 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 44 0 £700.35 £105.05 £805.40 46 Recharges 48 What I need is a formula to add up the values in Q4:Q44 but only if the corresponding value in the N column is Y. Every formula ive tried always seems to come back with an error. Thanks in advance. Alex |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Both the below mentioned formulas will get you the result.
=SUMPRODUCT(($N$2:$N$44="Y")*($Q$2:$Q$44)) =SUMIF($N$2:$N$44,"Y",$Q$2:$Q$44) Change the cell reference N2:N44 & Q2:Q44 to your desired range, if required. Remember to Click Yes, if this post helps! -------------------- (Ms-Exl-Learner) -------------------- "Bishkan" wrote: Hi, I have some data N O P Q TD (Y/N) Value VAT Total Val Y £71.44 £10.72 £82.16 4 N £71.44 £10.72 £82.16 5 N £84.08 £12.61 £96.69 6 Y £84.08 £12.61 £96.69 N £102.85 £15.43 £118.28 N £34.22 £5.13 £39.35 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £84.08 £12.61 £96.69 N £84.08 £12.61 £96.69 Y £84.08 £12.61 £96.69 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 44 0 £700.35 £105.05 £805.40 46 Recharges 48 What I need is a formula to add up the values in Q4:Q44 but only if the corresponding value in the N column is Y. Every formula ive tried always seems to come back with an error. Thanks in advance. Alex |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
=sumproduct(($N$4:$N$44="Y")*($Q$4:$Q$44)) "Bishkan" wrote: Hi, I have some data N O P Q TD (Y/N) Value VAT Total Val Y £71.44 £10.72 £82.16 4 N £71.44 £10.72 £82.16 5 N £84.08 £12.61 £96.69 6 Y £84.08 £12.61 £96.69 N £102.85 £15.43 £118.28 N £34.22 £5.13 £39.35 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £84.08 £12.61 £96.69 N £84.08 £12.61 £96.69 Y £84.08 £12.61 £96.69 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 N £0.00 £0.00 £0.00 44 0 £700.35 £105.05 £805.40 46 Recharges 48 What I need is a formula to add up the values in Q4:Q44 but only if the corresponding value in the N column is Y. Every formula ive tried always seems to come back with an error. Thanks in advance. Alex |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formula Needed : Sum on Conditions | Excel Discussion (Misc queries) | |||
Sumproduct with conditions - urgent help needed | Excel Worksheet Functions | |||
Date Formula with 2 conditions met needed | Excel Discussion (Misc queries) | |||
Two conditions in one cell. Help needed ASAP | Excel Discussion (Misc queries) | |||
2 conditions needed to check and count of items based on that | Excel Worksheet Functions |