kiwikiki718

Board Regular
Joined
Apr 7, 2017
Messages
80
Office Version
  1. 365
Platform
  1. Windows
I have two different columns on different worksheets that I want excel to count. currently I am unsure on how to add another logic to this formula please help.

So basically I want excel to count if
'Upload New Class'!$B$2
is found in table 1 with range's X-Z OR table 2 with ranges X-Z.

B
elow is the formula I have so far which works but I need to add another logic.


=COUNTIFS('TK-Current Classes_Desc.'!$A$2:$A$283,'Upload New Class'!$B$2)

thanks in advancde
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
you could just use
countifs() + countifs()
if not found result is 0
otherwise adds together
not sure of your range though - you say X-Z but using range A
Also only have 2 elements - so a countifs is not really need
countif() would work
 
Upvote 0
you could just use
countifs() + countifs()
if not found result is 0
otherwise adds together
not sure of your range though - you say X-Z but using range A
Also only have 2 elements - so a countifs is not really need
countif() would work


thank you this worked.

one more thing, how would I get excel to display a text instead of a number.

example if >=1 display "Error" else display ""
 
Upvote 0
=IF( cell or formula result >=1 , "error", "")
 
Upvote 0

Forum statistics

Threads
1,214,551
Messages
6,120,156
Members
448,948
Latest member
spamiki

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