Having a problem getting the formula in column 'C' to function with a wildcard.
I want to display the data if the name in the drop down box matches any name in column 'D'.
Jim O
Having a problem getting the formula in column 'C' to function with a wildcard.
I want to display the data if the name in the drop down box matches any name in column 'D'.
Jim O
Last edited by JO505; 11-18-2015 at 03:46 PM.
In C2 copied down,
=IF(ISNUMBER(SEARCH($H$2,D2)),MAX($C$1:$C1)+1,0)
In H3 copied down
=IFERROR(INDEX($E$2:$E$128,MATCH(G3,$C$2:$C$128,0)),"")
See attached
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
Assuming that your list will eventually have more than one match per director enter this array formula in H3 and fill down as far as necessary.
Formula:Please Login or Register to view this content.
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
I changed the formula in column C to:
Formula:Please Login or Register to view this content.
C D E F G H 1Film & Director(s) Director 2 1Alfred Hitchcock Film 1 Alfred Hitchcock 3 0Anthony Harvey Film 2 Film 1 4 0Arthur Penn Film 3 Film 6 5 0Barry Sonnenfeld Film 4 Film 10 6 0Billy Wilder Film 5 7 1Alfred Hitchcock Film 6 8 0Brad Bird Film 7 9 0Brian G. Hutton Film 8 10 0Burt Lancaster Film 9 11 1Alfred Hitchcock Film 10 12 0Christopher Nolan Film 11
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
Try
=COUNTIF(D$2:D2,"*"&H2&"*")
"*" doesn't work as a wildcard in your formula, it just adds a * to each end of the string in the cell.
Last edited by jason.b75; 11-17-2015 at 04:32 PM.
Thank you all for your input with this. Using the 'Search' function really helped resolve the issue I was having.
Thanks again
Jim O
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks