-
WSRoger Govier
AskWoody LoungerHi
It would be far more helpful if you uploaded your workbook rather than PDF’s.
I would question why you do this on 2 separate sheets?
If you created an are at the top of your sheet 2 to enter the Part Number required, you could then use either Autofilter or Advanced Filter to display that part only.
Then any amendment you make will be saved against the one and only entry of that part. -
WSRoger Govier
AskWoody LoungerOr even:
=IF(AND(LEN($D6)=10,–LEFT($D6,1)<7),$E6,0)Quite right Rory – why type all those extra zeros!!!!!!
-
WSRoger Govier
AskWoody LoungerHi
Noting all that has been said by maudibe and zeddy, you formula can be simplified to
=IF(AND(LEN($D6)=10,–LEFT($D6,4)<7000),$E6,0)
-
WSRoger Govier
AskWoody LoungerHi
As an alternative to looping through the rows, you could use the folowing
Code:Sub DeleteZeroRows() ‘ Delete all rows with Zero in column B of named sheet. ‘ Note this does not remove rows with Blank in column B With Sheets(“Sheet1”) .Range(“A1:B1″).AutoFilter Field:=2, Criteria1:=”0” ‘ Field 2 = Column B .Range(“A1”).CurrentRegion.Offset(1).SpecialCells(12).EntireRow.Delete .ShowAllData Selection.AutoFilter End With End Sub
-
WSRoger Govier
AskWoody LoungerHi
If you mean that you are wanting to use the Table Structured references then an alternative would be to copy the formula below
and paste to range L4:W20 of your existing sheet.=Table1[@Total]/3*(Table1[@QTR]=–RIGHT(L$2))
Note: This will still give the rounding differences as opposed to RG’s method – but if it is only Budget figures, this may not matter too much to you.
-
WSRoger Govier
AskWoody LoungerFebruary 25, 2013 at 11:24 am in reply to: Using Excel to find trends and patterns: problem management #1376626Quite right, Zeddy. Very sloppy on my part!!!
However, I normally have Option Explicit at the top of all modules I create (here I was just modifying one from Maud), and therefore Dim all of my variables.
There is no need to have the extra variable zAddr, you can just check Target.Address directlyHere is the revised code
Code:Option Explicit Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address = [g1].Address Then Dim c As Range Application.ScreenUpdating = False If [g1].Value = "" Then ActiveSheet.UsedRange.Offset(1).AutoFilter Field:=7 Else ActiveSheet.UsedRange.Offset(1).AutoFilter Field:=7, Criteria1:="*" & [g1].Value & "*" End If For Each c In Range(Cells(2, 1), Cells(2, 6)) c.AutoFilter Field:=c.Column, Visibledropdown:=False Next Application.ScreenUpdating = False [g1].Activate End If End Sub
-
WSRoger Govier
AskWoody LoungerFebruary 25, 2013 at 12:43 am in reply to: Using Excel to find trends and patterns: problem management #1376582Maud
That’s a nice solution.
However, I prefer to avoid the addition of a Text box.
It can be done with entry to a given cell (I used G1) and the Worksheet change event.
I think this “looks a little neater”, and just deleting the entry in G1 returns to the full list, as opposed to having to clear the filter.Code:Private Sub Worksheet_Change(ByVal Target As Range) Dim c As Range Application.ScreenUpdating = False If [G1].Value = "" Then ActiveSheet.UsedRange.Offset(1).AutoFilter Field:=7 Else ActiveSheet.UsedRange.Offset(1).AutoFilter Field:=7, Criteria1:="*" & [G1].Value & "*" End If For Each c In Range(Cells(2, 1), Cells(2, 6)) c.AutoFilter Field:=c.Column, Visibledropdown:=False Next Application.ScreenUpdating = False [G1].Activate End Sub
-
WSRoger Govier
AskWoody LoungerHi Maud, Absolutely no need to apologise. That often happens.
-
WSRoger Govier
AskWoody LoungerHi
The caret symbol “^” is used to denote Power.
=2^2 is 2 to the power of 2, or 2 squared which is 4
= 2^3 is to to the power of 3 or 8
= 2^4 is to to the power of 4 or 16It is a convenient notation as opposed to using the inbuilt POWER() function in Excel
=POWER(2,3) would also result in 8 -
WSRoger Govier
AskWoody LoungerHi
Upload your file
-
WSRoger Govier
AskWoody LoungerHi
Your explanation is not very clear.
Can you provide a sample file with a better explanation of what you are trying to do? -
WSRoger Govier
AskWoody LoungerHi
Yes that is the case when you are posting between applications.
You will only see that option in the right click menu.
I should have made that clear -
WSRoger Govier
AskWoody LoungerApril 30, 2012 at 5:20 pm in reply to: Adding only numbers in a row in non-contiguous columns #1330821Hi
Supposing your data is in row 2, with the first value you are interested in is in in column B, the next in I and so on
then the following array entered formula will do what you want.{=SUMPRODUCT(–(MOD(COLUMN(B2:CG2),7)=2),–(IF(ISNUMBER(B2:CG2),B2:CG2,0)))}
To array enter a formula use Control+Shift+Enter (CSE) not just Enter.
When you use CSE, Excel will insert the curly braces { } around your formula.
Do not type them yourself. -
WSRoger Govier
AskWoody LoungerHi Simon
You are quite right that there is a remove duplicate function in later versions, I was trying to give a generic solution.
With this particular set of data you are correct, a separator is not required in the concatenation.
However, I do it as a matter of course with all concatenations, because there are occasions when you can get tripped up with different numbers of characters in the concatenated fields.On the matter of the Countif function, however, you are totally wrong.
Your formula will count the number of occurrence in the whole data set, and that would not provide a list of uniques.
You would not be able to select the rows you wanted to delete, as it would also contain the first occurrence of the value.The formula I proposed, does not need to be sorted.
-
WSRoger Govier
AskWoody LoungerHi
Then try
Code:Sub PrintProposal() ' ' PrintProposal Macro Sheets("Proposal").Visible = xlSheetVisible Sheets("Spreadsheet").Visible = xlSheetVisible Sheets(Array("Proposal", "Spreadsheet")).Select ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True, _ IgnorePrintAreas:=False Sheets("Proposal").Visible = xlSheetHidden Sheets("Spreadsheet").Visible = xlSheetHidden Sheets("CustomerData").Select End Sub
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
*Some settings are managed by your organization
by
rlowe44
4 hours, 24 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
6 hours, 38 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
7 hours, 2 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
16 hours, 3 minutes ago -
AI slop
by
Susan Bradley
15 hours, 13 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
17 hours, 19 minutes ago -
Two blank icons
by
CR2
2 hours, 53 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 2 hours ago -
End of 10
by
Alex5723
1 day, 4 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 hours, 48 minutes ago -
test post
by
gtd12345
1 day, 10 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day, 1 hour ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
17 hours, 8 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 15 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 hours, 58 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
6 hours, 32 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 6 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 18 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 8 hours ago -
Are manuals extinct?
by
Susan Bradley
2 hours, 35 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 18 hours ago -
Network Issue
by
Casey H
2 days, 5 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 6 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 6 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 8 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 9 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 10 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 10 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 17 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
3 hours, 4 minutes ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.