Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2018, 06:29 AM
OTPM OTPM is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
Formula Help Needed
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default Formula Help Needed

Hi All


I have the following formula on a worksheet called "Metrics" however it is not calculating anything:

SUMPRODUCT((Risks!K:K>=Y3)*(Risks!K:K<=Z3))

When I put all the values on the same sheet it work fine.

Any help appreciated.

Thanks

Tony
Reply With Quote
  #2  
Old 02-01-2018, 07:21 AM
gebobs gebobs is offline Formula Help Needed Windows 7 64bit Formula Help Needed Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Please attach your sheet. Or try a comma instead of an asterisk.
Reply With Quote
  #3  
Old 02-01-2018, 07:34 AM
OTPM OTPM is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
Formula Help Needed
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi gebobs
Sample file attached.
Basically I need to be able to calculate the number of "open" RED risks for each month of the year.
Thanks in anticipation.
Kind regards
Tony
Attached Files
File Type: xlsm TK Test Channels and CRM RAID Log Business.xlsm (441.2 KB, 11 views)
Reply With Quote
  #4  
Old 02-01-2018, 11:12 AM
xor xor is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Maybe like shown in Metric!C15
Attached Files
File Type: xlsm TK_2.xlsm (440.3 KB, 12 views)
Reply With Quote
  #5  
Old 02-05-2018, 02:13 AM
OTPM OTPM is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
Formula Help Needed
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi Xor

Brilliant works perfectly. My only other query is to check for values in column Q that are >=3 and/or <=4. I have tried both "AND" and "OR" but to no avail:

=SUMPRODUCT(ISNUMBER(Risks!$Q$5:$Q$20)*(AND(Risks! $Q5:$Q20>=3,Risks!$Q5:$Q20<=4)*(Risks!$K5:$K20>=(--("1/4/18")))*(Risks!$K5:$K20<=--("30/4/18"))))

Thanks for your help so far.
Tony
Reply With Quote
  #6  
Old 02-05-2018, 02:45 AM
xor xor is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

What about:

=SUMPRODUCT(ISNUMBER(Risks!Q5:Q20)*(Risks!$Q5:$Q20 >=3)*(Risks!$Q5:$Q20<=4)*(Risks!$K5:$K20>=(--("1/1/18")))*(Risks!$K5:$K20<=--("31/1/18")))
Reply With Quote
  #7  
Old 02-05-2018, 04:58 AM
ArviLaanemets ArviLaanemets is offline Formula Help Needed Windows 8 Formula Help Needed Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Code:
=COUNTIFS(Risks!$K:$K,">= " & $Y$3,Risks!$K:$K,"<" & $AA$3+1)
Code:
=COUNTIFS(Risks!$Q:$Q,">=" & 3,Risks!$Q:$Q,"<=" & 4,Risks!$K:$K,">= " & $Y$3,Risks!$K:$K,"<" & $AA$3+1)
You had a wrong reference for end of month. And the formula for start of month returned string instead of date, so no match was found. Replace the formula in Y3 with
Code:
=DATEVALUE(1 & " " & U3 & " 2018")
Reply With Quote
  #8  
Old 02-05-2018, 07:16 AM
OTPM OTPM is offline Formula Help Needed Windows 10 Formula Help Needed Office 2016
Expert
Formula Help Needed
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi Xor
Thanks - works perfectly.
Tony
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula needed; I'm helpless Ylli Excel 10 12-13-2017 04:06 AM
Formula Help Needed Help needed with IF formula with a Vlookup jonnie_rc Excel 6 08-31-2017 01:27 PM
Complicated Formula Needed midgetmogalle Excel 14 01-29-2014 10:26 AM
Formula Help Needed Formula help needed Cosmo Excel 1 08-23-2012 11:50 AM
Excel formula needed. Rod Excel 1 08-03-2009 06:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft