What is wrong with my excel 365?

Perry Cheng

New Member
Joined
May 25, 2021
Messages
25
Office Version
  1. 365
Platform
  1. Windows
So, I am trying to use either VLOOKUP or simple Countif and if I have an array of list, it only look up the first on the list? What am I doing wrong?

=COUNTIF(B2,$E$2:$E$3)


Column BColumn CColumn DColumn E
Tom
=COUNTIF(B2,$E$2:$E$3)​
Mary
Mary
0​
John
Jane
0​
Jack
0​
John
0​
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If you type =se into a cell is one of the options SEQUENCE
 
Upvote 0
If you type =se into a cell is one of the options SEQUENCE
nope.
1621971372020.png
 
Upvote 0
In that case your version does not have any of the recent updates. That was rolled out nearly a year ago at latest.
Try confirming the formula with Ctrl Shift Enter rather than just Enter.
 
Upvote 0
I suspect that because I never had this problem before. This is a company laptop and program. It probably was never updated.
 
Upvote 0
How do you use VLOOKUP in this scenario?

=vlookup(
How about
+Fluff 1.xlsm
BCD
1BCD (List)
2Tom, Mary, Jane1Mary
3John, Edith, Karen1John
4Mike, Cecil, Jane0
5Tom, Mary, John2
Master
Cell Formulas
RangeFormula
C2:C5C2=SUM(COUNTIFS(B2,"*"&$D$2:$D$3&"*"))
How to use VLookup with wild card in this scenario?

=vlookup(B2, "*"&$D$2:$D$3&"*", 1, False) OR

=vlookup("*"&$D$2:$D$3&"*", B2, 1, False)?
 
Upvote 0
Did you try confirming the formula in post#6 with Ctrl Shift Enter?
 
Upvote 0
yes, it does not do anything. I am at home now using a different laptop with Office 365 (Version build 2104). Your formula works.
=SUM(COUNTIFS(B2,"*"&$D$2:$D$3&"*")). If I remove the SUM() part, it spills over the next row. Why?

How do I approach this with VLOOKUP?
would this work? It does not seem to work.
=vlookup(B2, "*"&$D$2:$D$3&"*", 1, False)
 
Upvote 0
Not sure if this will work, but you can try
+Fluff 1.xlsm
ABCDE
1BCD (List)
2Tom, Mary, Jane1Mary1
3John, Edith, Karen1John1
4Mike, Cecil, Jane00
5Tom, Mary, John22
Master
Cell Formulas
RangeFormula
C2:C5C2=SUM(COUNTIFS(B2,"*"&$D$2:$D$3&"*"))
E2:E5E2=SUM(ISNUMBER(SEARCH($D$2:$D$3,B2))+0)
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

Forum statistics

Threads
1,221,504
Messages
6,160,199
Members
451,630
Latest member
zxhathust

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