Searching for quotes using a formula results in #VALUE! error

jeff_cp

Board Regular
Joined
May 21, 2015
Messages
84
Field AR10 = “6B29FC40-CA47-1067-B31D-00DD010662D1”

The formula I'm using is =SEARCH("""",AR10,1) which should result in a 1 but is resulting in #VALUE!.

I've also tried =SEARCH(CHAR(34),AR10,1) and having the same issue.

I tried removing the hyphens in AR10 but getting the same error.

I'm using this same formula throughout my spreadsheet and not having any issues at all. It's just this one field AR10.

Any help would be greatly appreciated...this one is driving me crazy!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
The string starts with “ not " which is why you get the error.
Try
Excel Formula:
=SEARCH("""",SUBSTITUTE(AR10,"“",""""),1)
 
Upvote 0
Solution
Geez...thanks! I just simply changed the two single quotes in field AR10 to a double quote and that got it.
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,398
Messages
6,124,688
Members
449,179
Latest member
kfhw720

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top