I need to check a lot of formulas to see if a value is being multiplied by 12. The formula is in an IF statement and looks like “B1415*12”. I tried the FIND function but that requires text. How can I check a formula to see if the *12 is in it or not. If it is *8, for instance, it’s an error. TYIA
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Find a number as part of a formula
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Find a number as part of a formula
- This topic has 4 replies, 2 voices, and was last updated 15 years, 11 months ago.
AuthorTopicWSTorquemada
AskWoody LoungerMay 20, 2009 at 4:23 pm #459987Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerMay 20, 2009 at 4:30 pm #1161482Select Edit | Find… or press Ctrl+F.
Enter ~*12 in the “Find what” box. (The ~ tells Excel to treat * as a literal character instead of a wildcard.)
You may want to click Options >> and specify that you want to search the entire workbook in the Within dropdown.
Make sure that Formulas is selected in the Look in dropdown.
Click “Find Next” or “Find All”. -
WSTorquemada
AskWoody LoungerMay 20, 2009 at 4:41 pm #1161484Select Edit | Find… or press Ctrl+F.
Enter ~*12 in the “Find what” box. (The ~ tells Excel to treat * as a literal character instead of a wildcard.)
You may want to click Options >> and specify that you want to search the entire workbook in the Within dropdown.
Make sure that Formulas is selected in the Look in dropdown.
Click “Find Next” or “Find All”.Is there any way I can put this in a formula to return a value I can sort on? I’d like to have this in an audit column as a permanent part of the workbook. I want some cell to tell me “there’s a problem on this row”-myself or someone else.
-
WSHansV
AskWoody LoungerMay 20, 2009 at 4:53 pm #1161485You could create a custom function in the Visual Basic Editor:
Code:Function TestFormula(oCell As Range) As Boolean If oCell.HasFormula Then If InStr(oCell.Formula, "*12") > 0 Then TestFormula = True End If End If End Function
Let’s say you have formulas in column A. In another cell, for example in B1, enter the formula
=TestFormula(A1)
and fill down.
Alternatively, use
=IF(TestFormula(A1),”Uh oh!”, “”)
-
WSTorquemada
AskWoody LoungerMay 20, 2009 at 5:12 pm #1161488You could create a custom function in the Visual Basic Editor:
Code:Function TestFormula(oCell As Range) As Boolean If oCell.HasFormula Then If InStr(oCell.Formula, "*12") > 0 Then TestFormula = True End If End If End Function
Let’s say you have formulas in column A. In another cell, for example in B1, enter the formula
=TestFormula(A1)
and fill down.
Alternatively, use
=IF(TestFormula(A1),”Uh oh!”, “”)
That’s great, thanks! The Alternative is more accurate evaluation.
-
-
-
Viewing 0 reply threads -

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
-
Multiple Partitions?
by
CWBillow
2 hours, 55 minutes ago -
World Passkey Day 2025
by
Alex5723
2 hours, 18 minutes ago -
Add serial device in Windows 11
by
Theodore Dawson
17 hours, 32 minutes ago -
Windows 11 users reportedly losing data due forced BitLocker encryption
by
Alex5723
5 hours, 9 minutes ago -
Cached credentials is not a new bug
by
Susan Bradley
22 hours, 6 minutes ago -
Win11 24H4 Slow!
by
Bob Bible
22 hours, 17 minutes ago -
Microsoft hiking XBox prices starting today due to Trump’s tariffs
by
Alex5723
19 hours, 28 minutes ago -
Asus adds “movement sensor” to their Graphics cards
by
n0ads
1 day ago -
‘Minority Report’ coming to NYC
by
Alex5723
20 hours, 47 minutes ago -
Apple notifies new victims of spyware attacks across the world
by
Alex5723
1 day, 9 hours ago -
Tracking content block list GONE in Firefox 138
by
Bob99
1 day, 8 hours ago -
How do I migrate Password Managers
by
Rush2112
16 hours, 22 minutes ago -
Orb : how fast is my Internet connection
by
Alex5723
18 hours, 11 minutes ago -
Solid color background slows Windows 7 login
by
Alex5723
1 day, 20 hours ago -
Windows 11, version 24H2 might not download via Windows Server Updates Services
by
Alex5723
1 day, 19 hours ago -
Security fixes for Firefox
by
Susan Bradley
19 hours, 47 minutes ago -
Notice on termination of services of LG Mobile Phone Software Updates
by
Alex5723
2 days, 7 hours ago -
Update your Apple Devices Wormable Zero-Click Remote Code Execution in AirPlay..
by
Alex5723
2 days, 16 hours ago -
Amazon denies it had plans to be clear about consumer tariff costs
by
Alex5723
2 days, 7 hours ago -
Return of the brain dead FF sidebar
by
EricB
1 day, 18 hours ago -
Windows Settings Managed by your Organization
by
WSDavidO61
21 hours, 50 minutes ago -
Securing Laptop for Trustee Administrattor
by
PeachesP
25 minutes ago -
The local account tax
by
Susan Bradley
1 day, 20 hours ago -
Recall is back with KB5055627(OS Build 26100.3915) Preview
by
Alex5723
3 days, 5 hours ago -
Digital TV Antenna Recommendation
by
Win7and10
2 days, 22 hours ago -
Server 2019 Domain Controllers broken by updates
by
MP Support
3 days, 17 hours ago -
Google won’t remove 3rd party cookies in Chrome as promised
by
Alex5723
3 days, 19 hours ago -
Microsoft Manager Says macOS Is Better Than Windows 11
by
Alex5723
3 days, 22 hours ago -
Outlook (NEW) Getting really Pushy
by
RetiredGeek
3 days ago -
Steps to take before updating to 24H2
by
Susan Bradley
22 minutes ago
Recent blog posts
Key Links
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
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.