#1   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by jdavistdi View Post
Thanks for the quick reply! Can you clarify how the formula above will find the "CVE:" specific text in the cell as opposed to all the other text that is there?

Thanks again.
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
__________________
Asobi Wa Owari Da
  #2   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116:D2786,"NA")?
  #3   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116:D2786,"NA")?
  #4   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116:D2786,"NA")?
  #5   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116:D2786,"NA")?


  #6   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116:D2786,"NA")?
  #7   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by wickedchew View Post
You can only apply the formula if the cell only contains "CVE: xxx."

But if the cell contains this information:

High / CVSS Base Sco 7.5
CVE: CVE-2010-0219
BID: 44055
Other references: CERT:989719

You need to use another formula:
=MID(B1,FIND("CVE: ",B1)+5,13)
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116/D2786,"NA")?
  #8   Report Post  
Senior Member
 
Location: Philippines
Posts: 161
Default

Quote:
Originally Posted by jdavistdi View Post
Thanks, that seems to be doing the trick! One other question, what if I wanted to add IF ERROR to get disregard any cells that don't have the text above? How do I add it to the formula you have? Is it something like: =IFERROR(D116/D2786,"NA")?
=IFERROR(MID(B1,FIND("CVE: ",B1)+5,13),"")
__________________
Asobi Wa Owari Da
  #9   Report Post  
Junior Member
 
Posts: 9
Thumbs up

Quote:
Originally Posted by wickedchew View Post
=IFERROR(MID(B1,FIND("CVE: ",B1)+5,13),"")
Great, that did the trick.

Thanks again!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Extraction (parsing) Curtis Excel Worksheet Functions 3 October 21st 09 08:35 PM
Parsing text Confused Excel Worksheet Functions 1 August 5th 09 03:38 PM
parsing text KRK New Users to Excel 4 March 8th 08 05:23 PM
parsing text [email protected] Excel Discussion (Misc queries) 1 April 11th 07 01:29 PM
Parsing text Hamster07 Excel Discussion (Misc queries) 3 February 1st 07 07:32 PM


All times are GMT +1. The time now is 08:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"