+ Reply to Thread
Results 1 to 36 of 36

A macro code for filtering data based on some conditions

  1. #1
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    A macro code for filtering data based on some conditions

    Book1.xls Hi everybody,
    I need your help especially, from you experts. I am thinking to run a macro but the situations is a little bit complicated.
    I will start opening the attached file Book1
    On the file you see three different accounts (I used three different colors, for avoiding the confusion) and information for them in two columns (date information, accounts have monthly information). The accounts are below each others, with no blank cell for separation, but as you see there are some blank cells in two other columns. The meaning of this blank cells is that I am missing information.
    My idea is to create a new column saying missing information for each blank cell. So far is very easy and I can do this just using filter for the blank cells.
    BUT, the situation starts to get complicated in the highlighted (red) case. Account no 528635478, the first read start in 12/14/2012 and end in 01/16/2013. The second read is blank, but we don’t miss anything because if you see the third read, start the day next(01/17/2013) after the first end read(01/16/2013). So in this situation when we have blank cell but third read start directly when the first finish, we are not missing any thing, for this one I want to say that we are not missing on the inform column.
    It’s very important to do not use the information above or below the blank cell if the accounts are not the same. In the list, accounts are below each other’s but this doesn’t’ mean that information have a connection or are in continuity, this is only true when account is the same. Only when the account is the same, reads are in continuity with each-others the opposite is not true.
    For example, I can’t use last of the first account for checking the first read of the second account.
    My assumption is to put a filter for each account and after that check for the missing or not missing information. But I want to do this without any interruption, since I have to check 1000 accounts.
    I would really appreciate if you find me a macro for resolving this problem. I also wanted to emphasize this is only one part of what I am working on.

  2. #2
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    As long as the columns don't change this should work for you. If this solves your issue mark thread as solved and give rep to those whom have helped you.

    Please Login or Register  to view this content.
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

  3. #3
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Hi jessebranum777,
    Thanks a lot for your help, but the problem is, i do not see any effect on the first and the second blank cell(is on the file).So the last read for the first account and the first read for the second account.
    And my columns change everytime i receive reports

  4. #4
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    I put the missing and nothing missing in column D. So you want the missing and nothing missing in columns b and c? If your columns change meaning account number might be A and from date might be f next time then unfortunately i can't modify the macro to suit that since i am using offset values and I'm not sure how else to accomplish what your asking for since i have to account for account numbers and the chance that cells could offset each other with back to back blanks and some could have only one space in between. Let me know if the columns stay together but may not start in column A because i can work with that if Account number column comes first and the from date is next and the to date is next.

  5. #5
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    No man,
    Everything in your code is fine, besides the two blank cell. when i run the macro, i see that code doesn't effect this two,as you can see on this two I am missing information.
    To clarify I highlighted yellow the cell that i expect information from the code.
    I attached the file*Book1 Updated.xls

  6. #6
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    I added one more line to adjust for that.

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    jessebranum777 ,
    I wanted to say thanks you for your time spending resolving my problem.
    this code work fine in the example that I sent to you but not in my file.
    I think the problem with the code is, it doesn't do anything or stayed block in the accounts with no data.
    I am attaching my file, so the first account is all blank. Using the logic for this the code has to say missing.
    Do you have any idea?
    Book3.xlsx

  8. #8
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    I'm not sure what the correct answer should be for 104 though due to multiple dates.

  9. #9
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Thanks for the sheet you had a variable I wasn't thinking about. Try this out.


    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Quote Originally Posted by jessebranum777 View Post
    Thanks for the sheet you had a variable I wasn't thinking about. Try this out.


    Please Login or Register  to view this content.
    Hey man thanks a lot for your huge help. I think i have again a problem. When I was trying to upload the file, i couldn't upload all of the file because was too big so i divided it in different parts. I sent to you one of them. So now when I run the macro in the big file doesn't go at the end. Maybe because you specify the end cell?
    If you give me an e-mail address i can send you there.

  11. #11
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Since you have excel 2013 we can change the macro to go down further in order to find the last row thats no big deal.
    change this
    Please Login or Register  to view this content.
    to this
    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Quote Originally Posted by jessebranum777 View Post
    Since you have excel 2013 we can change the macro to go down further in order to find the last row thats no big deal.
    change this
    Please Login or Register  to view this content.
    to this
    Please Login or Register  to view this content.
    Hey man,
    I did that and it works fine.
    What logic did you use for the multiple dates like one in cell 103, or 116 or 118?

  13. #13
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    I also have cases like one highlighted on the file where the date in the cell 39 is the same with one in the cell 41. so i am not missing anything here
    Attached Files Attached Files

  14. #14
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Quote Originally Posted by endri88 View Post
    Hey man,
    I did that and it works fine.
    What logic did you use for the multiple dates like one in cell 103, or 116 or 118?
    I take the date that is far right and all is visible.

  15. #15
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Okay. Thanks for the many scenarios and uploads. I believe this will solve the issue along with another issue i found that is caused by when the macro searches for a value for the next date Y but then passes into another account # but didn't recognize that it had. I put a fix in for that too. I would suggest rerunning anything you have already ran because of that.

    Please Login or Register  to view this content.

  16. #16
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    jessebranum777, I wanted to say thank you for your time spending with my problems, i really appreciated it.
    I will combine this code with one that I am working, but i need one last thing. I want to understand the code.
    When you have time can you put some comments so i can understand more. I just started to learn macro and I can't say that my knowledge are as good as to understand the complicated situations like this.

  17. #17
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Please Login or Register  to view this content.

  18. #18
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Hey man we have a problem.
    If you open the file book3 and run the last code, you'll see the comment missing on the row nr 93. On this kind of situation we are not missing something because is the day after in following cell(92-94)
    I am trying to understand the code but in some part is very hard for me, i have the problem with location of the cell.I asked here in forum what is the best way to find the address and a member told ActiveCell.Address . so what i did was i placed this line (Range("f2").Value = ActiveCell) in the begging of the code but the code put the first address and doesn't change it. This is just for me to understand what you did.

  19. #19
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    I would say, the code on the post #10 is fine besides that problem when the value are the same
    Last edited by Verbamore; 08-06-2014 at 05:01 PM.

  20. #20
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    This should fix that issue. Sorry I didn't notice before.

    Please Login or Register  to view this content.

  21. #21
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    jessebranum777,

    I have some questions for some issues that I don't understand. Also I made some explanation in what I understood from the code.Can you please check my logic?

    1.'SET B OR A VARIABLE TO A NUMBER OR THE ACTIVE CELL ROW NUMBER
    Let B = ActiveCell.Row
    Why do we have to set the value to the variable B? Started from C2 that means B is going to take the value of C2 since that is the active cell.

    2. 'SET VARIABLE TO THE ACTIVE CELLS OFFSET (ROW,COL) SO TO THE RIGHT 2 COLUMNS AND .VALUE IS SETTING THE VARIABLE TO THAT CELLS VALUE
    Let C = ActiveCell.Offset(0, 2).Value
    Starting from C2 and using relative references ActiveCell.Offset(0, -2) that means that C is going to take the value of the cell B2 which is blank.
    When and where do we use this value (C)?

    3. 'THIS IS AN IF STATEMENT BUT IN THE MIDDLE IS AN AND STATEMENT SO THAT TWO CONDITIONS MUST BE MET
    If ActiveCell.Offset(0, -2).Value = ActiveCell.Offset(1, -2).Value And ActiveCell.Offset(0, -2).Value = ActiveCell.Offset(-1, -2).Value Then
    Based on this what I understood, is: started from c2, if the value on ActiveCell.Offset(0, -2), in this case is A2(the account number) is = with the one below A3 AND the value on A2(the account number)=with A1(in this case the headline , but I think, this check if the value on the A2 [activeCell.(0,-2)] is =with the one above it. This is the reason why the code goes at the end because the three value that you are comparing aren’t the same):
    (Part of the code at the end, macro goes here when three values aren’t the same)
    Else
    ActiveCell.Offset(0, 1).Value = "MISSING"
    ActiveCell.Offset(1, 0).Select

    After this, you are using another condition saying:
    If ActiveCell.Offset(-1, 1).Value <> "" Then
    In what I understand is, started from the cell C3 and using ActiveCell.Offset(-1, 1) we are checking for the value in the cell D2, if this cell is not blank( Not sure but maybe you are using the value in D2 as reference where you realize that there isn’t any value for c3 to based on ), if this is true you are saying to put the value “missing” on ActiveCell.Offset(0, 1).Value, starting from C31 this cell is D3
    After this, select the cell below C3, ActiveCell.Offset(1, 0).Select which is
    C4 and this goes on until the macro find a value in cell c11

    4. in the cell C20 and C21 is the same situation as in the cell c2

    5. in cell c31 the condition: If ActiveCell.Offset(-1, 1).Value <> "" Then is false, so macro goes at else .
    Start to select the cell D30 ActiveCell.Offset(-1, 1).Select here you put the last value of the cell c 31( I am saying the last value because some of them have multiple reads) using this ActiveCell.FormulaR1C1 = "=RIGHT(RC[-1],10)+1"
    I don’t understand the condition below where you saying:
    If IsError(ActiveCell.Value) = True Then
    ActiveCell.FormulaR1C1 = "=MID(RC[-1],37,10)+1"
    The others until Let X = ActiveCell.Value are fine. No clue why we use this Let X = ActiveCell.Value.
    After this you delete everything and using ActiveCell.Offset(1, -1).Select go again to the cell C31, after you activated the cell B31 and you use a condition say to proceed until find a value. When you find a value, you use this :
    If ActiveCell.Offset(0, -1).Value <> "" & c & "" Then
    Range("D" & B & "").Select
    I don’t understand the meaning of this above.
    In the case of the cell B32 the condition is false so the code goes to else.
    I don’t’ understand the purpose of : Let Y = ActiveCell.Value

    After this the code select the cell B30 using the reference ActiveCell.Offset(1, 2).Select
    At the end we have the famous condition, I understand the purpose but not the grammar
    If "" & Format(X, "MM/DD/YYYY") & "" > "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "NOTHING MISSING"
    End If
    If "" & Format(X, "MM/DD/YYYY") & "" = "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "NOTHING MISSING"
    End If
    If "" & Format(X, "MM/DD/YYYY") & "" < "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "MISSING"
    End If

  22. #22
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    1) It doesn't take the value of the cell but the row number.
    2) The c value takes place in the code below near the middle. The purpose is to check and see if the account number to the left 1 cell is the same account number as the blank cell found above. If the account numbers are the same then proceed with code otherwise the above is missing since there is no date afterwards without a gap.

    Please Login or Register  to view this content.
    3) This checks to see if the first item to check is empty then no matter what it has to be missing basically and also if its the last line of that account and its empty then it also has to be empty.
    4) That's correct if the last line of an account if empty then its missing because there is no corresponding account number below to reference a date to check.
    5)These two lines of code go hand in hand. Basically its checking to see if the cell value in column C has multiple dates or not. You can't add 1 to a cell value of text (multiple dates) because it will say #VALUE!
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    5) Continued- X should equal the value or date in column C plus 1 which should equal Y or the date in column B that we find next that isn't blank and the accounts match.
    5) Continued- As mentioned above this part of the code checks the account numbers if they match then we continue with checking to see if X and Y or the two dates we found match however if the account numbers don't match then we already know it missing since it was blank.

    Please Login or Register  to view this content.
    6) I'm not sure what you mean by grammar.

  23. #23
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    At least now I have an idea on what is going on.
    By grammar I mean that I do not understand what this is telling to excel step by step:
    If "" & Format(X, "MM/DD/YYYY") & "" > "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "NOTHING MISSING"
    End If
    If "" & Format(X, "MM/DD/YYYY") & "" = "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "NOTHING MISSING"
    End If
    If "" & Format(X, "MM/DD/YYYY") & "" < "" & Format(Y, "MM/DD/YYYY") & "" Then
    ActiveCell.Value = "MISSING"
    End If

    I understand that you are comparing two dates.

    Also I am trying to change some row/columns location but I don’t know why I see the same result ”missing” in all of them. The reason of doing this is because in my original file columns A, B, C, D are in respective columns N, V, W, X.
    I showed you only A, B, C, (and D is the column where we place the result) because I wanted to simplify the situation.
    So now what I am doing is from the begging:
    Range("C1000000").Select----------- Range("W1000000").Select ‘Since to date in my original file is in column W

    Range("C2").Select----- Range("W2").Select

    Let c = ActiveCell.Offset(0, -2).Value----------------- Let c = ActiveCell.Offset(0, -9).Value since this is takin value of the cell under the column Account Number and in my original file is in column N, from W to N are columns using offset

    If ActiveCell.Offset(0, -2).Value = ActiveCell.Offset(1, -2).Value And ActiveCell.Offset(0, -2).Value = ActiveCell.Offset(-1, -2).Value Then---------- If ActiveCell.Offset(0, -9).Value = ActiveCell.Offset(1, -9).Value And ActiveCell.Offset(0, -9).Value = ActiveCell.Offset(-1, -9).Value Then

    If ActiveCell.Offset(0, -1).Value <> "" & c & "" Then
    Range("D" & B & "").Select-------------------------------------------- If ActiveCell.Offset(0, -1).Value <> "" & c & "" Then
    Range("X" & B & "").Select Since the range where I want to see the result is not D but X

    Did I miss something?
    Last edited by Verbamore; 08-13-2014 at 04:49 PM.

  24. #24
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    When I run the code in the book3 for the case in row number 93 which is “nothing missing” the code goes from Loop
    If ActiveCell.Offset(0, -1).Value <> "" & c & "" to else Let Y = ActiveCell.Value
    Selection.End(xlUp).Select
    ActiveCell.Offset(1, 2).Select
    And give at the end the proper result.

    When I run the code to my original file(after doing the updates that I describe above)
    In the case of row 93, code goes from
    If ActiveCell.Offset(0, -1).Value <> "" & c & "" to then Range("D" & B & "").Select
    ActiveCell.Value = "MISSING"
    And give me the result Missing which is wrong (for the range, I am using X instead of D so Range("X" & B & "").Select

    Do you have an idea?

  25. #25
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Attached you'll see my headlines.
    I highlighted red the columns that we are working.
    Attached Files Attached Files

  26. #26
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    To be completely honest, it would be easier to just modify the macro to move the appropriate columns before it even starts and move them back after the macro has run if you need them to be in the specific columns rather than trying to modify the macro that has no absolutes and is based on data being in certain cells and rows and columns being in certain spots.

    The grammar part you are asking about it exactly what you said its adding 1 to the date it pulls from that to date cell and comparing it to the from date. Some scenarios made the date more and some made it exactly the same. I can't remember which at this time. As for the rest again its better to adjust the macro to adjust the columns of the worksheet then run the macro then put the columns back where you want them rather than changing the entire macro and run the risk of messing something up.

    IE

    Please Login or Register  to view this content.

  27. #27
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Quote Originally Posted by jessebranum777 View Post
    To be completely honest, it would be easier to just modify the macro to move the appropriate columns before it even starts and move them back after the macro has run if you need them to be in the specific columns rather than trying to modify the macro that has no absolutes and is based on data being in certain cells and rows and columns being in certain spots.

    The grammar part you are asking about it exactly what you said its adding 1 to the date it pulls from that to date cell and comparing it to the from date. Some scenarios made the date more and some made it exactly the same. I can't remember which at this time. As for the rest again its better to adjust the macro to adjust the columns of the worksheet then run the macro then put the columns back where you want them rather than changing the entire macro and run the risk of messing something up.

    IE

    Please Login or Register  to view this content.
    Thanks jessebranum777 for your information. since I don't have too much knowledge no macro I didn't know that fact that you're mentioning above.
    The problem is, I can't change the columns of my report, because we use a standard and also our partner use our standard.
    what is the purpose of the code above? where to place it?

  28. #28
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Try this code without changing anything and let me know if it works. It will move the columns to where the macro needs them for temporary purposes and then move them back so it meets the standards.

    Please Login or Register  to view this content.

  29. #29
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    This looks fine; but i saw a problem, this problem appear to be also before you did the last update.If you run the code to the file book3(the code before the last update) and check the row nr 117 you'll see the message" missing" in this case is not missing because the last value on the column C is 9/15/2013 and the first value on the column B row 118 is the next day,9/16/2013.
    DO you have any idea?

  30. #30
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Yes it is because I didn't take into account that sometimes column B will have multiple dates, however I added one line to fix that now. Great eye btw. I didn't catch that or think of it to test.
    Please Login or Register  to view this content.

  31. #31
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    ahhaah i found that doing a bunch of tests. thanks for your help man. I am testing that in different report that i have and it looks fine. I'll do some other test and i'll mark as solved.
    I have one last question for this If ActiveCell.Offset(0, -1).Value <> "" & c & "" Then
    why you use two "" "" so to blank instead of one.

  32. #32
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    I am not sure mistake maybe. Will it work without it?

  33. #33
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    ahahha I am scared to change it because i dont want to ruin it

  34. #34
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: A macro code for filtering data based on some conditions

    Hey man,
    I spend three days testing the macro and i saw something. At the end, when macro copy and paste columns A, B, C, D to respective columns N V W and X it always freezes.
    what do you think that we can do?
    What can do to not copy and paste and to work directly to columns N, V W and X.
    I am so mad, everything was working fine since I found this.

  35. #35
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Please Login or Register  to view this content.

  36. #36
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: A macro code for filtering data based on some conditions

    Okay. I will post the code here and email you as well since we have been chatting through that as well. I believe this will solve the problem and if you could when you give rep don't just give it to me but to this gentlemen as well as he has helped me figure out why this little bugger was giving me such an issue.

    His name is TMS and here is the thread were you can give me rep at. ... I can't get the link button to work so I hope you get to see the link I am putting below this sentence.
    http://www.excelforum.com/excel-prog...issue-vba.html

    Please Login or Register  to view this content.
    Last edited by Jack7774; 08-21-2014 at 11:09 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Vba macro code for filtering based on two col years...
    By Dharani Suresh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2014, 04:46 AM
  2. [SOLVED] VBA Code to Pull data to another spreadsheet based on conditions!
    By mg87 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-16-2013, 02:38 PM
  3. Macro for filtering raw data,copy/ pasting and sorting based on conditions
    By amazingjeffery in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-17-2013, 02:45 AM
  4. complex macro code to select data based on given conditions
    By j.farr3ll in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-15-2012, 07:55 AM
  5. filtering based on two conditions
    By davidparkes in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-09-2011, 03:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1