Please Help! Struggling with 'ISNUMBER' and 'OR' functions

Excelnoob1995

New Member
Joined
Jan 7, 2022
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
Hi,

I'm trying to make a column that will be used to inform a pivot table, however because the data sheet is populated by dates and not numbers, if i take data from both columns for the pivot table, there will be an overlap and inflation of resulting totals where both columns contain information. I think I need an ISNUMBER formula that will produce a text / result IF either column has information, or if they both do.

So it needs to do something like

IF CELL-A = (ISNUMBER) AND CELL-B = (ISNUMBER) THEN "YES"
IF CELL-A = (ISNUMBER) AND CELL-B = ("") THEN "YES"
IF CELL-A = ("") AND CELL-B = (ISNUMBER) THEN "YES"
IF CELL-A = ("") AND CELL-B = (I"") THEN ""

If anyone can help, this would be really great!

Kind regards,
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
IF CELL-A = (ISNUMBER) AND CELL-B = (ISNUMBER) THEN "YES"
IF CELL-A = (ISNUMBER) AND CELL-B = ("") THEN "YES"
IF CELL-A = ("") AND CELL-B = (ISNUMBER) THEN "YES"
IF CELL-A = ("") AND CELL-B = (I"") THEN ""

=IF( AND(A1="", B1=( I"") , "",
BUT not sure what ( I"") means - is that just a PIPE
=IF( AND(A1="", B1="I") , "", IF( OR ( AND ( ISNUMBER(A1), ISNUMBER(B1)) , AND( ISNUMBER(A1), B1="") , AND ( A1="", ISNUMBER ( B1))),"yes", ""))

I have setout as you have written , but there maybe ways to simplify or use a IFS()


=IF(AND(A1="",B1="I"),"",IF(OR(AND(ISNUMBER(A1),ISNUMBER(B1)),AND(ISNUMBER(A1),B1=""),AND(A1="",ISNUMBER(B1))),"yes",""))
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,928
Members
449,094
Latest member
teemeren

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