Posts by marav08


    Sorry but i'm not quite getting it.
    please correct me if i'm wrong. So I wlil be putting the =COUNTIF(I4:L4,"No") to what sheet? sheet4? and then the =countif(....) in sheet 4 as well? Am I right? sorry got a lil bit confused.

    I'm trying to create a formula regarding cells. What i'm trying to do is check for value in sheet 3 and sheet 4 for example in sheet 3 I have let's say multiple columns
    a b c d e f g h i j --------------------------------------------------- wk1 Sam1 No Yes No Yes No No No Yes wk1 Sam1 No Yes No Yes No No Yes Yes wk2 Sam1 No Yes No Yes No No No No wk1 Sam2 No Yes No Yes No No No Yes




    So here it goes. In sheet 4 I already have the names and week for every member so for example it should see if the name and wk in sheet 3 matches the name and wk in sheet for then what will happen is it will count all the No's. I have this formula but not it is not working. I know there is something wrong. I'm new to formulas.






    Code
    =COUNTIFS(Sheet3!$C$4:$C$1048576,Sheet3!$C$4,Sheet3!$E$4:$E$1048576,Sheet3!E4,Sheet3!$I$4:$L$4,"No")



    Hoping for your help

    Hi,
    This works perfectly. one last question sir. Example is I want to copy b4 in sheet one together with all the cells i have and then paste it on sheet 3 which is in E and then right after that the D10 will be pasted in I. I mean is there a way to skip 3-4 cells?


    Oh after I deleted the data in sheet3 to try it again. the code doesn't seem to work. :(

    Code
    Sub This_Maybe()
    Dim rngArr
    rngArr = Array([D10], [D11], [D12], [D15], [D22], [D25], [D32], [D33], [D38], [D39], _
    [D40], [D41], [D42], [D47], [D48], [D49], [D50], [D53], [D55], [D57], [D63], [G3])
    Sheets("Sheet3").Cells(Rows.Count, 9).End(xlUp).Offset(1).Resize(, UBound(rngArr) + 1) = rngArr
    End Sub


    Hi,
    This works perfectly. one last question sir. Example is I want to copy b4 in sheet one together with all the cells i have and then paste it on sheet 3 which is in E and then right after that the D10 will be pasted in I. I mean is there a way to skip 3-4 cells?

    Code
    Sub This_Maybe()
    Dim rngArr
    rngArr = Array([D10], [D11], [D12], [D15], [D22], [D25], [D32], [D33], [D38], [D39], _
    [D40], [D41], [D42], [D47], [D48], [D49], [D50], [D53], [D55], [D57], [D63], [G3])
    Sheets("Sheet3").Cells(Rows.Count, 9).End(xlUp).Offset(1).Resize(, UBound(rngArr) + 1) = rngArr
    End Sub



    I'm currently not infront of my work computer right now. be there in 15mins. i'll try this one out. I'll update you what happened. thanks :)

    Hi,


    I've been trying to copy multiple cells from sheet 1 to sheet 3. But every time that I will add a cell on the range it is giving me an error message "That Command cannot be used on multiple selections."
    There are also other cell that I want to copy and paste it on a specific cell in sheet3
    for example
    Sheet1: b4 and b6 I need to paste it in sheet3 cell is E4 and B4


    so the B4 in sheet 1 should be pasted in sheet3 E4 and b6 should be pasted in B4.



    OK, thanks. What problem exactly are you having with your code? Are you able to attach a simplified workbook?



    Here is my sample workbook.
    For example I am searching a data with only name. it gives me an error type mismatch and it highlights


    Code
    Date1 = CDate(Me.txtDate.Value)
        Date2 = CDate(Me.EndDate.Value)


    what i'm trying to do is to search a file using Name and date range or by name only or only by date.

    Hi,


    I'm trying to create a search button that will populate my listbox and textbox if try searching for date range or by name only or by date only or by name and date range. I already tried tweaking the codes but I cannot come up with the solution.
    Here are my codes:






    I already have it working. :)) thanks for the reply anyways. here are the codes.


    Hi,


    I'm trying to create a button that will increment once the filename already exist. I can save the file for this but the number does not increment. I tried making some changes with the codes I got from the web. Thanks.


    Hi,
    please do correct if violate some rules. I have a workbook that needs to be saved everytime there is a new name that is selected and if ever that the same name will be save the file name will increment. The filename I choose is the value of cells. Name - Date - Line of business. so for eg. My first file is Ryan-07-21-2017-Tech. then I will be saving a file again with the same criteria it should now be Ryan-07-21-2017-Techv2. I already have a code but it seems that everytime I will be saving the same file name my excel file is not responding anymore and then is there a possible way as well the each time I save as a file my main workbook will not be closed? Thanks.
    Below are my codes.


    Hi,


    I'm trying to create a search button that will display the information on the list box. The data that i'm trying to search is by name and date range. or it can also by name or by date only. I'm already have a code but it seems that there is something wrong because everytime I tried searching it is displaying all the name but the date is correct.
    Below are the codes