Forum

Philip Treacy
Philip Treacy
@philipt
Admin
Member
Joined: Oct 5, 2010
Last seen: Aug 30, 2025
Topics: 61 / Replies: 1580
Reply
RE: Variables do not work in RemoveDuplicates Method

Hi Bob, I don't think you are using RemoveDuplicates correctly- did you read the link i posted? RemoveDuplicates removes duplicates from a range...

5 years ago
Forum
Reply
RE: Renaming column when source data changes

Hi Bax, You can rename the column by referencing its position rather than its name #"Renamed Columns" = Table.RenameColumns(#"Promoted Headers"...

5 years ago
Forum
Reply
RE: Transforming data from PDF

Hi Francis, Please see attached. This query is fragile in that slight changes to the structure of the PDF will break it, but for the example you p...

5 years ago
Forum
Reply
RE: Variables do not work in RemoveDuplicates Method

That said, the Columns array you supply to RemoveDuplicates is a list of the column numbers that contain duplicates so if email is 200 then Exc...

5 years ago
Forum
Reply
RE: Identify cell color from conditional formatting

Hi Bob, Debug.Print prints information to the Immediate Window in the VBA Editor/Debugger. So Debug.Print Range("A1").DisplayFormat.Interior.Color...

5 years ago
Forum
Reply
RE: Variables do not work in RemoveDuplicates Method

no worries Bob - no file attached though. Did you click on the orange 'Start Upload' button?

5 years ago
Forum
Reply
RE: RunningTotals for Sub-category without using Function

Hi Chris, I'd use a custom function to create a running total. But that aside, your question was actually can you group by field get Index for e...

5 years ago
Forum
Reply
RE: RunningTotals for Sub-category without using Function

Hi Chris, Yes I saw that in the workbook so if that is what you want as a result, I don't understand what you are asking for help with as you've al...

5 years ago
Forum
Reply
RE: RunningTotals for Sub-category without using Function

Hi Chris, That query is throwing an error because you don't have a Column named QTY but I think that may be beside the point. You've only got 2 ...

5 years ago
Forum
Reply
5 years ago
Forum
Reply
RE: Power Query Using COUNTIFS

Hi Lionel, I wasn't sure if you wanted the results grouped by caller number or not. The example result in the post (above) isn't the same as the e...

5 years ago
Forum
Reply
RE: How to get cumulative total with multiple criterias?

Hi Francis, Do you want the cumulative total grouped by something, like Account? Regards Phil

5 years ago
Forum
Reply
RE: Identify cell color from conditional formatting

Hi Bob, Use DisplayFormat.Interior.Color to get the color set by CF e.g. Debug.Print Range("A1").DisplayFormat.Interior.Color see attached fi...

5 years ago
Forum
Reply
RE: Variables do not work in RemoveDuplicates Method

Hi Bob, This works fine for me Sub xxxx() Dim finalcol As Long finalcol = 2 Range(Cells(1, 1), Cells(20, finalcol)).Select End Sub s...

5 years ago
Forum
Reply
RE: Error in VBA Creating Multi-Select Drop Down List

Hi Jamie, That code as you've pasted it works if there is a named range called DataC4 on the ActiveSheet - see attached file. The code will allo...

5 years ago
Forum
Page 43 / 110