how to use find formula in a countif formula

buroh

New Member
Joined
Jul 14, 2020
Messages
46
Office Version
  1. 365
Platform
  1. Windows
Hello all,

I am getting a spill error from my formula and I cannot work out how to fix it.

I have a countifs formula which is looking at different criteria. It works in one column for the criteria I had set, but in my 2nd column I need to a Find formula to find certain text to return a count result, but I am getting spill result instead of a number.

I have no idea what I am doing wrong.

In a column specified below in the report tab are titles which a 3 letter code at the end, so I have a list of codes and need to do a count based on another criteria, which I have not put in this post, but I tried the Isnumber approach in the formula, but I get the same result of spill. I used start at number and no joy.

So D3 contains the 3 letter code to search on which is ACO.

=COUNTIF('Report QA'!$K$126:$K$156,isnumber(SEARCH(D3,'Report QA'!$K$126:$K$156)))

Any suggestions would be helpful.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
perhaps
=COUNTIF('Report QA'!$K$126:$K$156,"*"&D3&"*")
 
Upvote 0
Solution
need to see the information

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0
Sorry, I realised I didn't reference to the other sheet and it worked. thank you all for this small problem.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

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