Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default If 2 columns have #N/A

Hi All

I have 2 columns of data which both look at a Vlookup and return either an
answer or #N/A (no data match), see below
Bloggs 31 Eagle Street
#N/A #N/A
Smith #N/A
Michaels 21 Alpha Road
#N/A #N/A

What I want is an IF statement that says if either column is #N/A and
display a value (say 1). Then I can filter out all the non #N/A

Is this possible, I have tried various things but none seem to work.

Any help greatly appreciated

Kind regards

Rexmann

Using excel 2003
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default If 2 columns have #N/A

=--OR(ISNA(A2),ISNA(B2)) if you want 0 or 1
=OR(ISNA(A2),ISNA(B2)) if you're happy with TRUE or FALSE
--
David Biddulph

"rexmann" wrote in message
...
Hi All

I have 2 columns of data which both look at a Vlookup and return either an
answer or #N/A (no data match), see below
Bloggs 31 Eagle Street
#N/A #N/A
Smith #N/A
Michaels 21 Alpha Road
#N/A #N/A

What I want is an IF statement that says if either column is #N/A and
display a value (say 1). Then I can filter out all the non #N/A

Is this possible, I have tried various things but none seem to work.

Any help greatly appreciated

Kind regards

Rexmann

Using excel 2003



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 79
Default If 2 columns have #N/A

Hi

Thanks for that, job done perfectly

Cheers Rexmann

"David Biddulph" wrote:

=--OR(ISNA(A2),ISNA(B2)) if you want 0 or 1
=OR(ISNA(A2),ISNA(B2)) if you're happy with TRUE or FALSE
--
David Biddulph

"rexmann" wrote in message
...
Hi All

I have 2 columns of data which both look at a Vlookup and return either an
answer or #N/A (no data match), see below
Bloggs 31 Eagle Street
#N/A #N/A
Smith #N/A
Michaels 21 Alpha Road
#N/A #N/A

What I want is an IF statement that says if either column is #N/A and
display a value (say 1). Then I can filter out all the non #N/A

Is this possible, I have tried various things but none seem to work.

Any help greatly appreciated

Kind regards

Rexmann

Using excel 2003




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
putting 2 long columns into multiple columns in excel page and sor bob_mhc Excel Discussion (Misc queries) 1 April 25th 08 07:51 AM
to convert columns to rows having mulit independent group columns Quacy Excel Worksheet Functions 1 August 22nd 06 11:20 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM
Pivot Table Creating New Columns that Subtract Two Existing Columns den4673 Excel Discussion (Misc queries) 3 December 17th 04 01:31 PM


All times are GMT +1. The time now is 08:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"