Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
kr1sh
New Member

Need help with multiple IF ISNUMBER SEARCH excel function in Power Query

Hi,

I am working with Qualys vulnerability excel data of 30-50k rows where in currently using "if isnumber search" excel function in column-B of the attached file.

There are ~ 28 to 30 different text string from another sheet needs to be compared with a single cell in Titel column and then update column-B.

I need some help to get this done using power query. 

I have attached sample file for your reference and looking power query to achieve this formula.

 

Unable to attach my file but this is the formula in Col-B of Table1.

 

=IF(ISNUMBER(SEARCH(CustomCategory!$A$2,$F2)),CustomCategory!$B$2,

IF(ISNUMBER(SEARCH(CustomCategory!$A$3,$F2)),CustomCategory!$B$3,

IF(ISNUMBER(SEARCH(CustomCategory!$A$4,$F2)),CustomCategory!$B$4,

IF(ISNUMBER(SEARCH(CustomCategory!$A$5,$F2)),CustomCategory!$B$5,

IF(ISNUMBER(SEARCH(CustomCategory!$A$6,$F2)),CustomCategory!$B$6,

IF(ISNUMBER(SEARCH(CustomCategory!$A$7,$F2)),CustomCategory!$B$7,

IF(ISNUMBER(SEARCH(CustomCategory!$A$8,$F2)),CustomCategory!$B$8,

IF(ISNUMBER(SEARCH(CustomCategory!$A$9,$F2)),CustomCategory!$B$9,

IF(ISNUMBER(SEARCH(CustomCategory!$A$10,$F2)),CustomCategory!$B$10,

IF(ISNUMBER(SEARCH(CustomCategory!$A$11,$F2)),CustomCategory!$B$11,

IF(ISNUMBER(SEARCH(CustomCategory!$A$12,$F2)),CustomCategory!$B$12,

IF(ISNUMBER(SEARCH(CustomCategory!$A$13,$F2)),CustomCategory!$B$13,

IF(ISNUMBER(SEARCH(CustomCategory!$A$14,$F2)),CustomCategory!$B$14,

IF(ISNUMBER(SEARCH(CustomCategory!$A$15,$F2)),CustomCategory!$B$15,

IF(ISNUMBER(SEARCH(CustomCategory!$A$16,$F2)),CustomCategory!$B$16,

IF(ISNUMBER(SEARCH(CustomCategory!$A$17,$F2)),CustomCategory!$B$17,

IF(ISNUMBER(SEARCH(CustomCategory!$A$18,$F2)),CustomCategory!$B$18,

IF(ISNUMBER(SEARCH(CustomCategory!$A$19,$F2)),CustomCategory!$B$19,

IF(ISNUMBER(SEARCH(CustomCategory!$A$20,$F2)),CustomCategory!$B$20,

IF(ISNUMBER(SEARCH(CustomCategory!$A$21,$F2)),CustomCategory!$B$21,

IF(ISNUMBER(SEARCH(CustomCategory!$A$22,$F2)),CustomCategory!$B$22,

IF(ISNUMBER(SEARCH(CustomCategory!$A$23,$F2)),CustomCategory!$B$23,

IF(ISNUMBER(SEARCH(CustomCategory!$A$24,$F2)),CustomCategory!$B$24,

IF(ISNUMBER(SEARCH(CustomCategory!$A$25,$F2)),CustomCategory!$B$25,

IF(ISNUMBER(SEARCH(CustomCategory!$A$26,$F2)),CustomCategory!$B$26,

IF(ISNUMBER(SEARCH(CustomCategory!$A$27,$F2)),CustomCategory!$B$27,

IF(ISNUMBER(SEARCH(CustomCategory!$A$28,$F2)),CustomCategory!$B$28,"Legacy Patches")))))))))))))))))))))))))))

 

Table2: CustomCategory

Vulnerability title contains      Custom Category

McAfeeMcAfee Vulnerability
July 2020Current Month Patching
June 2020Previous Two Months
May 2020Previous Two Months
MS15-124Workaround not part of monthly patching
Variant 4Workaround not part of monthly patching
Graphics ComponentGraphics/Font Vulnerability
FontGraphics/Font Vulnerability
IPv6 ProtocolIPV6 vulnerability
Media PlayerWindows media player
Certificates SpoofingCertificate spoofing vulnerability
WiresharkWireshark
Malware Protection EngineWindows Defender
AmazonTo be moved to opco repsonsibility
dominoTo be moved to opco repsonsibility
Ricoh Printer DriversWorkaround not part of monthly patching
Red Hat Linux vulnerability on Windows server
BackupBackup Software
(ADV190013)Workaround not part of monthly patching
microcodeIntel Microcode patch for Win2016
(BlueKeep)Current Month Patching
VMware ToolsVM Tools vulnerability
SymCryptSymCrypt Vulnerability
SymantecSymantec Vulnerability
Microsoft Windows AdobeLegacy Patches
EMCBackup Software
ZoomZoom related Vulnerabilities
Rest othersLegacy Patches

 

4 REPLIES 4
v-eachen-msft
Community Support
Community Support

Hi @kr1sh ,

 

Could you please share your sample data and the expected result here if you don't have any Confidential Information? Please upload your files to OneDrive for Business and share the link here.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

attached my sample file in google drive, refer column-B in the attachment contain excel formual and expecting same result using power query.

 

https://docs.google.com/file/d/1FLvb9IyTt7DzeYNPyXyI3MvKDy3ZLuip/edit?usp=docslist_api&filetype=msex...

 

Hi   @Fowmy  / @v-eachen-msft 

Attached my sample file in google drive, refer column-B in the attachment contain excel formual and expecting same result using power query.

https://docs.google.com/file/d/1FLvb9IyTt7DzeYNPyXyI3MvKDy3ZLuip/edit?usp=docslist_api&filetype=msex...

 

Fowmy
Super User
Super User

@kr1sh 

Save your file in One Drive, Goole Drive, etc. and share the link here. It not clear what you are trying to do with the data.
Give examples as well

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon on the right if you like this reply 🙂

YouTube, LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.