LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Changing Cell Text/Data

Hi,
What I am doing at the mo is this:-
I have a spread sheet which is used each month for reporting applications,
the data is extracted from a database and contains some duplicates.
I need to check theses duplicates against each other and ensure their result
fields meet certain criteria.
If they Do/Dont then I need to change/Not Change the data in the cells.
For Instance, Col B contains the application numbers, col F Contains the
first part of the test, say it contains the word 'Refused' Col G the next
part say 'Overruled' and Col H the Last part Say 'Unknown'
Now if the next row down contains the same application Number but the
subsequent rows contain the words 'Refused'-'Included' and then 'Unknown' I
need to change the Unkinowns to a different result say 'Mickey Mouse'
I can set up the code in VBA to check the 3 cells and change the last one
depending on the criteria of the other 2 on the spreadsheet as a whole, I can
write the formula on the spreadsheet to check col B for duplicates and return
a word or ref, However what I cant do is marry the 2 together so that the
only cells changed are those appertaining to the duplicate entries.
In essence what I need is a bit of help getting the code to check Col B for
duplicates then do the offset stuff on only those duplicate entries

Cheers
JR



 
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
Changing background colour when changing data in a cell Paoul Excel Discussion (Misc queries) 7 December 26th 08 07:25 AM
Copy text from cell to cell with one cell changing text Bobby Excel Worksheet Functions 5 March 15th 07 11:09 PM
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
Changing the case of text data fuzzyjon Excel Worksheet Functions 4 May 15th 06 04:50 PM
Text Changing, based on data seanrigby Excel Discussion (Misc queries) 3 May 4th 06 08:11 PM


All times are GMT +1. The time now is 11:00 PM.

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

About Us

"It's about Microsoft Excel"