Lookup a value and return a count of NA's and Values?

chive90

Board Regular
Joined
May 3, 2023
Messages
56
Office Version
  1. 2016
In Sheet2, I have a list of URL's and user names next to each URL.
e.g.



In Sheet1, I have a simple Pivot which displays the count of unique URL's, e.g.


I would like to add another field next to the unique URL count in the pivot tab to show the count of values and the count of N/A's ... e.g.

URLCountCount of #N/A'sCount of Values
www.test1.com321



What would be the best way to achieve this?

Thanks
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
try:
Excel Formula:
=COUNTIF(range,NA())
 
Upvote 0
Thanks - but unless I am not understanding how to use CountIF properly, that seems to return the total N/A's across all URL's, not per URL.

How would I amend the formula to look for each unique URL and return the total number of N/A's for that URL?
 
Upvote 0
maybe this:

Excel Formula:
        =COUNTIFS(urllist, url, namerange,NA())
 
Upvote 0

Forum statistics

Threads
1,224,837
Messages
6,181,255
Members
453,028
Latest member
letswriteafairytale

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