Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-01-2011, 07:17 PM
macropod's Avatar
macropod macropod is offline comparing values from a range Windows 7 32bit comparing values from a range Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi struct,

It's not clear from your post what should appear in column A. The first example has a 7 in column C, and there's a 7 in the string in column A. The second example has a 1 in column C, and there's no 1 in the string in column A.

Assuming you need to know when:
There is a 7 in col A but not col A;
There is a 7 in col C but not col A;, and
Neither col A nor col C has a 7,
try the following formula in, say F1, copied down as far as needed:
=IF(AND(C1=7,ISERROR(FIND(7,A1))),"Check Col A",IF(AND(C1<>7,NOT(ISERROR(FIND(7,A1)))),"Chec k Col C",IF(AND(C1<>7,ISERROR(FIND(7,A1))),"Check Cols A & C","")))
If you then sort the data by Col F, you'll have all the questionable records sorted together at either the top or bottom of the list, depending on your sort order.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
comparing values from a range Using Conditions to Add Values EclipticalD Excel 1 07-08-2010 09:50 PM
comparing values from a range Comparing Word Documents NepalKat#1 Word 1 01-09-2010 11:18 AM
Opening .pst with dummy values ran_sushmi Outlook 0 08-19-2009 01:56 AM
macro for comparing data from 3 columns and pasting into another worksheet ashukla Excel 1 06-24-2009 05:01 PM
comparing values from a range Comparing Data leroytrolley Excel 1 08-09-2008 08:34 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft