• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Search results

  1. Luke M

    VBA Code needed to Find Value in Column, Change Color of Cell if Value Found, Else End

    For the basic MsgBox, you can't change the color. If you want to build your own UserForm, then you would be able to customize the color. In your case, it wouldn't be too bad since we're just displaying info. Could be a form with caption and button. You'd need to Load the user form, set value of...
  2. Luke M

    VBA Code needed to Find Value in Column, Change Color of Cell if Value Found, Else End

    Here's your code. Sub FindAndColor() Dim fCell As Range Dim firstAdd As String Dim myCount As Long 'Where are we searching With Worksheets("Sheet1").Range("D:D") 'What are we looking for? Set fCell = .Find(what:="T3RRF2", LookIn:=xlValues...
  3. Luke M

    How to convert a large string into multiple lines (=10 characters)

    Here's a function you could use. Function LineSplit(strStart As String, lngLength As Long) Dim i As Long 'Remove any existing line breaks strStart = Replace(strStart, Chr(10), "") For i = lngLength To Len(strStart) Step lngLength + 1 strStart = Left(strStart...
  4. Luke M

    Showing Product production in line

    Duplicate post. Please refer to your earlier thread.
  5. Luke M

    Remove password

    I understand your concern, but my disagreement with it is that Excel doesn't really offer "security", it offers "protection" in these cases. The distinction is that the former refers to keeping files secure, and away from the wrong people. The protection that most people use in XL (sheets...
  6. Luke M

    Remove password

    Yes, it'll unlock any VBA projects you have open at the time of running (add-ins, hidden workbooks, etc.)
  7. Luke M

    How to make drop down list except the selected name in the particular cell

    We can use formulas to build a new list that doesn't include selected items. I also built your dynamic validation as wlel.
  8. Luke M

    Copy all visible cells excluding blank and zeros

    Since you've already got a filter applied in a way (you're checking for visible cell), then I'd just add another criteria to the filter to hide the cells with 0 and blank. Then it's a simpler copy & paste.
  9. Luke M

    macros for vlookup in dynamic range with two worksheets

    Hi trividha, You'll get more responses if you start a new thread rather than tacking onto an older one (especially one from 2015).
  10. Luke M

    How to create a list from a list?

    It acts as a counter. The COLUMNS function returns a number indicating how many columns are in the given range. So, at first, this evaluates to 1. When you copy one cell to the right, the range becomes $A1:B1, which then evaluates to 2, then 3, etc. This is so that the SMALL function is being...
  11. Luke M

    How to create a list from a list?

    Put this array formula in AC6 =IFERROR(INDEX(4:4,SMALL(IF(COUNTIF($C$7:$Q$7,$C$4:$AA$4)=0,COLUMN($C$4:$AA$4)),COLUMNS($A$1:A$1))),"") NOTE: Confirm as an array using Ctrl+Shift+Enter, not just Enter. Copy cell to the right as desired.
  12. Luke M

    LOST PASSWORD

    A quick search of our forums: https://chandoo.org/forum/threads/remove-password.23208/
  13. Luke M

    Need help to export used ranges of sheets to pdf

    @zrs As Alan has discovered, please remember in the future to post links to cross posts, as it saves everyone some time.
  14. Luke M

    Using dynamic reference with structured references in formula

    If 'Alfie' was in B1, you can INDEX the column you need via something like =INDEX(emp_table, , MATCH($B$1, emp_table[#Headers], 0)) Plugging that into your original formula =sumifs(INDEX(emp_table, , MATCH($B$1, emp_table[#Headers], 0)),emp_table[[Weeknum]:[Weeknum]],$A2)
  15. Luke M

    Hello, How I can extract unique data from table based on a criteria from another sheet and put the result on the same sheet where the criteria

    I'd suggest running an Adv Filter. It's designed so that you have a data table, criteria range, and output range. You can also sepcify unique records only. It's easy enough to do manually, but if you want to use VB: https://www.contextures.com/exceladvancedfiltervba.html
  16. Luke M

    Test thread

    Rollover chart with two series
  17. Luke M

    Enter cell value if between start and end date

    Formula in D3: =IF(MEDIAN(D$8,$A3,$B3)=D$8,$C3,"No Estimate")
  18. Luke M

    Drill down by click or double click on a specific column of the chart

    As the only way to do this would be via VBA, I'll move the thread.
  19. Luke M

    Indirect formula help

    Your setup is confusing. It looks like you're trying to use the labels in col A to figure out which sheet to grab, but the sheets have the non-descriptivate labels of "Data entry (7)" rather than "Data entry QBQ". IMO, I'd change the workbook design. First, get all the raw data on a single...
  20. Luke M

    Hi @kabanda . You'll be more likely to find assistance by posting a question in the regular...

    Hi @kabanda . You'll be more likely to find assistance by posting a question in the regular forum, rather than here, which is just my personal profile page. https://chandoo.org/forum/forums/ask-an-excel-question/post-thread
  21. Luke M

    Autopopulate column after dropdown?

    In the future, please remember to post links to your cross-posts. https://www.mrexcel.com/forum/excel-questions/1093994-autopopulate-column-after-dropdown.html
  22. Luke M

    Status Color

    Hi @SharadSalvi Welcome to our forum. However, you'll get more help if you start your own thread, rather than tacking on to someone else's previously solved thread.
  23. Luke M

    HELP REQUIRED FOR ANALYZING DATA

    Welcome to the forum! Your attached file is hard to understand as it only has one sheet with info. Is that in the desired output, or how the input looks? It currently looks like the layout of a PivotTable. Please clarify what you have vs. what you want.
  24. Luke M

    Need help to avoid popup msgbox while sending an outlook email thru excel

    Note that that message is specifically there to avoid people using malicious code to send email w/o users knowing. Bypassing it could be considered annoying to some users. That said, you could get around it by either a) Just having the email be Show, rather than Send, and let user manually...
  25. Luke M

    Query on Advanced filter

    Missing commas between the arguments of AdvancedFilter. Also, line breaks need a " _" after them to show the code continues. Finally, when listing out argument names, you use ":=", not just "=". Cleaned code: Sub FilterDataraja() Sheets("Sheet1").Range("A1:L15").AdvancedFilter _...
Back
Top