SOLVED

Dynamic Lookup for COUNTIF

Copper Contributor

Hi All,

 

Wondering if this is possible.

 

The items in Column J and L are a list lookup (auto sorted alphabetically) from another sheet and is updated constantly, so a hard link in the COUNTIF statement to Column L will be inaccurate when the list is updated (and reorganized when resorted alphabetically).

I'd like COUNTIF to pickup whatever item is in the adjacent Column L.

 

Thanks guys.

 

Capture.PNG

 

4 Replies
best response confirmed by HasanSheriff (Copper Contributor)
Solution

@HasanSheriff 

 

do a power query against that list for column J and column L then after you load the query to the worksheet, click the refresh down arrow:

Yea_So_0-1620963090387.png

 

And uncheck the background refresh setting:

Yea_So_1-1620963253242.png

 

So now you can use the data with the countif without worrying about it being resorted or whatever

@Yea_So 

I'll have to learn the Power Query. Wish my luck!

Thanks!

@Yea_So 

You're a life saver!

Done.PNG

 

It wasn't so painful to learn power query was it? and now you learned something new and an added hammer in your toolbox
1 best response

Accepted Solutions
best response confirmed by HasanSheriff (Copper Contributor)
Solution

@HasanSheriff 

 

do a power query against that list for column J and column L then after you load the query to the worksheet, click the refresh down arrow:

Yea_So_0-1620963090387.png

 

And uncheck the background refresh setting:

Yea_So_1-1620963253242.png

 

So now you can use the data with the countif without worrying about it being resorted or whatever

View solution in original post