Wildcarding cell references

BritishBuddha

New Member
Joined
Feb 9, 2011
Messages
14
I want a cell to be able to check each cell on row 1 using IF and if a specific value is present to COUNT/COUNTIF all cells from *3:*151 (where * denoted the coloumn of the cell checked)

Is wildcarding cell coloumns/rows possible? :confused:
I hope I've explained this correctly.

Thanks
 
This may work:
Code:
=SUMPRODUCT(--(A1:IV1="First check")*--(A3:IV151="Second check"))
 
Upvote 0
Thanks for that.
Thought it was ok, but made an error. Doesn't seem to be working. Should it count each cell that contains the second check?
 
Last edited:
Upvote 0
Hello British Buddha,

You can't use a wildcard in SUMPRODUCT like you can in COUNTIF, you may be able to use another approach, is this related to your previous question, I replied belatedly there?
 
Upvote 0
Hi Barry, I've just read your reply, thanks for your help, I managed to use Find and Replace and used the formula I was using for my first problem (or second problem, the first being that it would be a good idea for me to get my head around usign Excel :laugh:)

This problem is worse!!!

I have numbers at A3:A151 (on Sheet1) and each column from B1 to IV1 contains a word. I want a cell (on another sheet) to check the first cell of each column B1, C1, D1, etc and if the word is present to check each cell within that column and count 1 each time a cell that contains another word.

Again, each cell contains four words, I'm only interested in one word though, it should disregard all others.

Cheers again!!
 
Upvote 0
Do cells B1:IV1 also contain 4 words or just one? Can more than one column header contain the searched word?
 
Upvote 0
B1:IV1 will contain one or two words and there will only be four options so there will definitely be repetitions.

This is what I'm looking at:
Sheet 1
http://i52.tinypic.com/4ptbfl.jpg

Current sheet
http://i53.tinypic.com/2ur136t.jpg

Cell B1 on the current sheet should check each cell on row 1 (in sheet1) when a cell contains the word 'wet' it should then check the cell two cells down, if that contains the term 'DBF' then it should add one.

Again, as seen on Sheet 1, the cell will contain four pieces of information.

Again, thank you!
 
Upvote 0

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