Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2024, 11:15 AM
xor xor is offline Sum based on starting no. of codes Windows 11 Sum based on starting no. of codes Office 2021
Expert
 
Join Date: Oct 2015
Posts: 1,102
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


Another slightly shorter formula is

=SUMPRODUCT(($A$26:$A$34=K$1)*(OR((LEFT($B$26:$B$3 4)={"4""5"})))*$D$26:$G$34)

where I guess you must change \ to , (comma). \ is because I use Danish settings.

Edit: {"4""5"} here I wrote {"4" backslash "5"} but it was changed when I posted. I think you should use {4,5}.
Reply With Quote
  #2  
Old 03-17-2024, 02:39 AM
Parle Parle is offline Sum based on starting no. of codes Windows 10 Sum based on starting no. of codes Office 2021
Novice
Sum based on starting no. of codes
 
Join Date: Mar 2024
Posts: 12
Parle is on a distinguished road
Default

Thanks xor,

It works perfectly.

Regards,
Reply With Quote
  #3  
Old 03-25-2024, 04:55 AM
Parle Parle is offline Sum based on starting no. of codes Windows 10 Sum based on starting no. of codes Office 2021
Novice
Sum based on starting no. of codes
 
Join Date: Mar 2024
Posts: 12
Parle is on a distinguished road
Default Sum based on starting no. of codes

Dear xor,

Sorry to bother you again. I am wondering why trail formula is not working on table. Result give count for the total entries in Feb 24 month instead of sum of 4 & 5 series for that month. Is there any reason or am I making any error? Demo file is attached for the reference.

Thanks for your cooperation.
Attached Files
File Type: xlsx Sum based on criteria Demo 250324.xlsx (269.4 KB, 5 views)

Last edited by Parle; 03-25-2024 at 05:05 AM. Reason: Attachment is missing
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide/delete slides based on keyword in a separate text file based on AND|OR condition? rupd911 PowerPoint 0 02-22-2021 08:22 AM
QR codes in Word lreinhard7 Word 1 12-19-2019 06:46 AM
Enter a city based on a short list of zip codes jcgwilym Excel 1 04-19-2017 10:53 AM
Sum based on starting no. of codes Need help with Field Codes Cosmo Mail Merge 25 07-30-2015 01:25 PM
Is it possible to merge the two VBA codes into just one sam2149 Excel Programming 0 02-26-2014 05:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:33 AM.


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