• 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. eibi

    Formula to Repeat a TEXT or Number in a data

    @bosco_yip Your recent comments on other posts have really been a good challenge for me to avoid unnecessary array formulas. (appreciate the N(G7) too...) Mine isn't as short as yours, but I did come up with one: =IF(N(G7),LOOKUP(2,1/($E$3:E7="AC_NO"),$E$1:E7),"")
  2. eibi

    Formula to Repeat a TEXT or Number in a data

    Array formula: =IF(OR(ISBLANK(I16),I16="Period Code"),"",INDEX($E$1:E16,MAX(IF($E$1:E16="AC_NO",ROW($E$1:E16)-2)))) See attached. I hope somebody else can do this without an array...
  3. eibi

    Macro to a split a column of data to adjacent columns as headers

    Is a macro a necessity? What if you paste in B4: =IF(LEN(B2)>0,A4,"") And in C4: =IF(LEN(C2)>0,A5,"") And drag down...(see attached).
  4. eibi

    Hide Columns With Dynamic Range

    sure. Line 1-2: Establish a variable (called TargetMonth) and assign a value to it from Cell A4 Line 3-4: Establish a variable (called TargetColumn) to define the final column in the range that will be hidden, and assign it a numerical value using a Match() function to find the position of...
  5. eibi

    Hide Columns With Dynamic Range

    Dr., The only way I know to do this is with VBA. See attached; I think the button will do what you want... Sub HideColumns() Dim TargetMonth As Integer TargetMonth = Sheets(1).Range("$A$4").Value Dim TargetColumn As Double TargetColumn =...
  6. eibi

    Autofilling using an odd pattern

    Welcome to the forum! Try this formula in cell E3, and drag to fill: =INDEX($C$3:$C$7,1+INT((ROWS($E$2:E13)-1)/3))
  7. eibi

    Categorise Data Based on Combination of Variables

    Welcome to the forum! See attached, using this formula: =IF(B3="Yes",IF(COUNTIF(C3:E3,"No")=3,"SS Only",IF(COUNTIF(C3:E3,"Yes")>0,"Partial SS")),IF(COUNTIF(C3:E3,"Yes")>0,"No SS"))
  8. eibi

    New-Combining certain fields from different tabs in workbook

    Posky -- I don't understand your desired output. Perhaps you can copy/paste the values you want into the Final Tab for illustration -- to give a clear vision of the output you want.
  9. eibi

    Unprotect a slicer

    I think this line of your code... ActiveSheet.Protect Password = "BB" should instead be: ActiveSheet.Protect Password:= "BB" See if that fixes anything.
  10. eibi

    Date Calculation Issue

    It looks like your date formats on the target sheet may be inconsistent...sometimes mm.dd.yyyy and other times dd.mm.yyyy Before trying to troubleshoot the vba, can you confirm that the dates are formatted consistently? (original file attached)
  11. eibi

    Check for Partial Match in Absolute and Return Absolute

    @excelnub: @bosco_yip's is better -- for several reasons, but especially if you are going to have thousands of rows. Array formulas are important, but they can really cripple your data processing time; particularly if you have a huge data set.
  12. eibi

    Check for Partial Match in Absolute and Return Absolute

    Hey @Chihiro, I have heard that the IF(ISERROR()) combo adds processing time -- I don't actually know if it's true...If so, here's an array entered alternative using your method: =IFERROR(INDEX($D$4:$D$8,MAX(IFERROR(FIND($D$4:$D$8,B4)^0,-1)*(ROW($D$4:$D$8)-3))),"NOT FOUND") Does anybody know...
  13. eibi

    Check for Partial Match in Absolute and Return Absolute

    What about this array formula in C4: =INDEX($D$4:$D$8,MATCH(1,(LEN(B4)<>LEN(SUBSTITUTE(B4,$D$4:$D$8,"")))+0,0)) See attached.
  14. eibi

    Unprotect a slicer

    When you right click on the slicer and select properties, there should be a check box indicating whether the slicer is 'locked' -- when I 'un-check' the box, I am able to change a slicer on a protected sheet. If the pivot table is on the protected sheet, you have a different problem...
  15. eibi

    Help with Prepopulating New Sheets for an Excel Dummy

    Welcome to the forums! You didn't indicate whether you want to use VBA or formulas...so I've done both. The VBA uses this code: Sub BuildTab() Dim No_Cycles As Integer No_Cycles = Sheets("Sheet2").Range("$A$2").Value Dim Days_Per As Integer Days_Per =...
  16. eibi

    If statements using a sheet name....

    Yep. Use the Indirect(). Keep in mind, you are titling your sheets with numerical values, so in the reference cell where you type the name of the target spreadsheet, you'll have to key two apostrophes for it to work...and don't substitute a quotation mark: ''-700'...
  17. eibi

    combining multiple columns of data to one column

    Take a look at the attached... I'm producing the target output that you requested (with one exception, which I think is a typo in your sample), but I have some reservations about the structure of your input data...We may need to rethink these formulas after you apply them to the real data set...
  18. eibi

    Data Label Value Alignment

    Thomas, I think you can double click on the data label and hover your mouse over a corner (the mouse indicator will change to a double-pointed arrow)...then resize the data label text box. See attached -- is this what you mean?
  19. eibi

    Formula to Sum a Matrix Table

    Formula: =SUMPRODUCT($I$9:$P$14*(--($I$8:$P$8=I$19))*(--($H$9:$H$14=$H20))) See attached.
  20. eibi

    Macro to insert data inputs from user into a table

    Welcome to the Forum! I've modeled up something that may be what you are looking for...See attached. Not fancy, but perhaps it will be a helpful starting point. All best.
  21. eibi

    Multi-lookup help with Ranges

    I think this formula will do what you want: =SUMPRODUCT((--(B5:B12=H5))*(--(C5:C12<=H6))*(--(D5:D12>=H6))*E5:E12)
  22. eibi

    Need to add 3rd condition to index/match - I think I am close

    An array formula like so? {=IFERROR(INDEX(RawData2016[Jan FTE Sum],MATCH(1,($F17=RawData2016[Employee '#])*($E17=RawData2016[Jan Title FTE])*($B17=RawData2016[Jan Location FTE]),0)),"")} NOTE: The text in cell C12 has an extra space: "Staff ", which I've corrected in the attached file...
  23. eibi

    Returning a Value based on two Criteria

    YPJ, Like @Chihiro, I prefer the index(match()) construction over the vlookup, but assuming that we keep the vlookup pattern from your original formula... What about using this formula in K15...
  24. eibi

    Using formula to create list of values from set data without duplicates

    I replied to a duplicate thread? http://chandoo.org/forum/threads/using-criteria-to-create-list-of-data-avoiding-duplicates-in-each-order.27775/
  25. eibi

    Using criteria to create list of data avoiding duplicates in each order

    Greetings --- and welcome to the Forum! I propose that the following formula will achieve Task 1 (allocate items from Sample tab) and Task 2 (avoid duplicates on a given order). =INDEX(OFFSET('Sample items'!$A$2,,MATCH(Orders!B3,'Sample items'!$A$2:$F$2,0),COUNTIF('Sample...
Back
Top