FIND has wrong data type error

masplin

Active Member
Joined
May 10, 2010
Messages
413
Another stupid question sorry

I have a column call "Product" containing data which powerpivot says is text. I want to find the position of the word "gym" in each entry. If I use a calcualted column with
Code:
=find("gym",transactions[Product])
it throws an error "an arguement of function "FIND" has the wrong data type or is invalid"
I am completely mystified as the column is text and "gym" is text so what's the problem? This is a really easy function to use in excel so tearing what is left of my hairout trying ot understand powerpivot!!!

Thanks again Mike
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Found the answer. "Gym" was with a capital and FIND is case specific. I hadn't included a "not found" arguement so threw an error.
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,397
Members
448,957
Latest member
Hat4Life

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