Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-25-2020, 09:22 AM
p45cal's Avatar
p45cal p45cal is offline COUNTIF to count long text/values in cells (#VALUE! Error) Windows 10 COUNTIF to count long text/values in cells (#VALUE! Error) Office 2019
Expert
 
Join Date: Apr 2014
Posts: 947
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

Power Query seems to handle long strings well.
If I grouped only by Cost Code and Description you'd have one entry for
03.01 SIP Wall Factory Labour || Sipwall Fac. Labour - Load In / Out
where there are two different Unit Costs; what do you want to place in the Unit Cost column?
The same applies to:
9000 GST || .
where you have 3 different Unit Costs.

In the attached the grouping is done by Cost Code, Description & Unit Cost and I've highlighted the rows concerned.

In the attached there's a table at cell M1 which is the query table (refresh by right-clicking and choose Refresh), your current results as plain values at cell G1 and your original data table at cell A1 minus its final calculated column.


Power Query can probably handle what you want, but it's knowing what you want.
Attached Files
File Type: xlsx msofficeforums45838CostCodeConvertor.xlsx (41.0 KB, 7 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help on Countif Error vikaskhengre Excel 1 04-09-2019 04:51 AM
COUNTIF to count long text/values in cells (#VALUE! Error) count the number of text in a cell based off a different cells text Kubi Excel 4 08-24-2017 05:53 PM
Distribute text in one cell across a range of cells (overcoming selection.range.cells.count bug) slaycock Word VBA 0 02-18-2017 07:00 AM
Header must toggle text & color + show count of conditionally formatted cells below Franktoon Excel 3 02-18-2014 02:10 PM
COUNTIF to count long text/values in cells (#VALUE! Error) How to count the total cells that contains text data? Learner7 Excel 1 06-30-2011 04:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:39 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