Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 07-17-2024, 01:16 PM
p45cal's Avatar
p45cal p45cal is offline Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Windows 10 Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Office 2021
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default


The problem with having just a single Count column as the output is relating each row of the count robustly with a module number.

So, with 5 aircraft/sheets, you'll be processing each sheet in the same way. You'll have 5 queries producing comparable results.
It'll probably be simplest to merge/join or append the 5 tables. Each table will be identifiable, so you'll be able to produce a single table with data integrity in your 'comparison' tab, probably all within Power Query.
Reply With Quote
  #17  
Old 08-02-2024, 12:53 AM
kvsrinivasamurthy kvsrinivasamurthy is offline Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Windows XP Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Office 2007
Novice
 
Join Date: Oct 2017
Posts: 12
kvsrinivasamurthy is on a distinguished road
Default

Is it possible how the result should be displayed . In a column (M) in your file or any other way.
Reply With Quote
  #18  
Old 08-02-2024, 08:39 AM
p45cal's Avatar
p45cal p45cal is offline Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Windows 10 Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Office 2021
Expert
 
Join Date: Apr 2014
Posts: 956
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

You could try and test this incomprehensible formula in the single cell M7:
Code:
=BYROW(A7:A1130,LAMBDA(c,IF(LEN(TRIM(c))>0,SUMPRODUCT((SCAN("",A7:A1130,LAMBDA(a,b,IF(b="",a,b)))=c)*(LEN(TRIM(C7:C1130))>0)),"")))
See attached.
Named range not required, no Power Query query.


Edit: Added the equivalent named lambda formula in cell N7.
2024-08-02_170342.jpg

If you want to transfer this named lambda function to your own workbook, an easy way is to copy my worksheet to your workbook then immediately delete it from your workbook; the function should remain.
Attached Files
File Type: xlsx msofficeforums52670EXAMPLE_v02.xlsx (119.6 KB, 2 views)
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying column to another column with deleting date due to blank cells Sportsmen Excel 3 04-18-2023 06:16 AM
Counting populated cells (range) in one column, that fall between 2 (diff) values in another column display a change in column cells counting the number of months oscarlimerick Excel 4 03-14-2022 12:22 AM
Auto-Entering Values into a Column in a Table based on Value in Adjacent Column nytvsh Excel 2 12-06-2021 12:33 AM
Formula to check combinations of values in one column to find match from another column kong1802 Excel 1 06-15-2018 05:26 AM
Counting populated cells (range) in one column, that fall between 2 (diff) values in another column Shortcut to haven ascending values in row/column of cells Straitsfan Excel 1 08-09-2016 05:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:25 PM.


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