Hi everyone,
I'm working with a giant spreadsheet with over 20,000 rows.
At the moment the data for an individual person is spread over several rows like attached in the Before file.
I need something to get this data in single rows, but account for the possibility that there may be clashing data that needs to be looked at by a person, and I want to highlight this like in the After file.
Two questions:
1. Is VBA the only way to do this? I'm just learning but am fairly proficient with fomulae, so was wondering if there's a way to do this via vlookup and conditional formatting?
2. If no to question 1, what would be the best way to approach this issue, are there any tutorials or functions that would save some coding here?
Thanks in advance!
Sarah
Last edited by Sarah-Ann; 07-03-2011 at 12:28 PM.
Try this, althought I suspect there is more to this than your pictures suggest.
Why not post a sample workbook rather than a picture?
With your Sheet "Before"
In F2
Drag/Fill Down=IF(B2<>"",A2,"")
In G2
Drag/Fill Down then Right to Column I=IF(COUNTIFS($A:$A,$F2,B:B,$B2)>0,$B2,"")
Apply filters to Columns F:I and filter out the blanks in Column F
Copy the result in Columns F:I and Paste > Paste Special > Values to K1
Conditional Formatting
Select Columns K2:N100 (more or less rows as required)
Use this formula
=AND($K1=$K2,$L1<>$L2)
Hope this helps
If you need any more information, please feel free to ask.
However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
Also
If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.
Thank you so much for the detailed answer! This is one of the most helpful forums I've ever encountered.
I can't post the workbook as the information is confidential data related to medical history of individuals.
But now I have the principle of how to do it, thank you so much, you rock!
Happy to have been of some help.
If you need any more information, please feel free to ask.
However, if this takes care of your needs, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED. It helps everybody! ....
Also
If you are satisfied by any members response to your problem please consider using the small Star icon botom left of thier post to show your appreciation.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks