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

    Need help - Copy Excel Data and paste to notepad

    Hi Kavish VBA open file method does not have any option for setting encoding so it will (probably) pick the default encoding on the system it is being run. If you want to enforce it then you will have to use different technique. See if below thread helps you with it...
  2. shrivallabha

    Array Formula CTRL+Shift+Enter Not working

    Hello Zenfa Welcome to Chanoo Org forums. Please create new thread for posting your query. You can leave a reference to this thread if required. Also as a new user, it will be good to go through instructions for new users; https://chandoo.org/forum/forums/new-users-please-start-here.14/
  3. shrivallabha

    IF with multiple criteria - if <22, +1

    Probably you can add one more IF like below (untested) =IF($S49<22, INDEX('FY21 Award Pay Rates'!$D$29:$D$50,MATCH($M49&"¬"&IF($S49<22,$S49+1,$S49),'FY21 Award Pay Rates'!$B$29:$B$50&"¬"&'FY21 Award Pay Rates'!$C$29:$C$50,0))*SUM(VLOOKUP($N49,'FY21 Award Pay Rates'!$A:$F,6,0))...
  4. shrivallabha

    Unmerge bunch of 10 digit numbers in excel

    The other route is to key in 'CTRL+J'.
  5. shrivallabha

    Unmerge bunch of 10 digit numbers in excel

    Another formula approach using FILTERXML can be =IFERROR(FILTERXML("<t><s>"&SUBSTITUTE($A2,CHAR(10),"</s><s>")&"</s></t>","//s["&COLUMNS($A$1:A$1)&"]"),"")
  6. shrivallabha

    Extract Word from a Sentence

    Here's a variation based on @Peter Bartholomew's suggestion. =LOOKUP(2^15,SEARCH(" "&TEXT(DATE(2020,1,1)+ROW($A$1:$A$12)*29,"mmmm")&" ",A2,1),TEXT(DATE(2020,1,1)+ROW($A$1:$A$12)*29,"mmmm"))
  7. shrivallabha

    Vba code for Amount to Words.

    If you google then links like below come up: https://support.microsoft.com/en-us/office/convert-numbers-into-words-a0d166fb-e1ea-4090-95c8-69442cd55d98
  8. shrivallabha

    Set the code to get the textbox values in Userform

    Following change works for me: Me.TextBox2.Value = Me.TextBox1.Value * WorksheetFunction.VLookup(Me.ComboBox1.Value, ws.Range("a2:d20"), 2, 0) Me.TextBox3.Value = Me.TextBox1.Value * WorksheetFunction.VLookup(Me.ComboBox1.Value, ws.Range("a2:d20"), 3, 0) Me.TextBox4.Value = Me.TextBox1.Value *...
  9. shrivallabha

    Put a string or row of numbers in order, no duplicates

    If UNIQUE function is available to you then you can use below approach. =IFERROR(SMALL(UNIQUE(("0"&Sheet1!$H2:$AK2)+0,TRUE,FALSE),COLUMNS($A$1:A$1)),"") I have just tested against posted sample. See attached file. Depending on your version you may have to use CSE.
  10. shrivallabha

    Execute Shell command (File Name having a space)

    Add pair of quotes to deal with it like below. StartAdobe = Shell("" & AdobeExecutable & " """ & AdobeFile & """", 0)
  11. shrivallabha

    help required how to split cell

    This will be possible using VBA macro as this will require inserting rows.
  12. shrivallabha

    Consecutive number with Letter in Front

    @RDEXCEL2020 Your requirement is still unclear to me (maybe many...) If you could provide a clear rule. Single digit --> S01 or S1 Double digit --> S099 or S99 Triple digit --> S0999 or S999 Quadruple digit --> S09999 or S9999 and so on then it will be much easier to understand. The...
  13. shrivallabha

    Consecutive number with Letter in Front

    Depends on who the end user really is ;) Sometimes, the sheets are being made by the end-users themselves. People come up with all sorts of requirements which are "unclear/unsaid" in their initial posts. Just when you think that the thread is solved the pole shifts. e.g. in this case it is...
  14. shrivallabha

    Consecutive number with Letter in Front

    If your requirement is limited to displaying alone then you can continue to use your formula by applying a custom cell formatting as ""S"General" (bold portion without quotes)
  15. shrivallabha

    Count empty numbers and cells

    If TEXTJOIN function is available to you then you can try below formula as well. In cell AC2: =LEN(TRIM(MID(SUBSTITUTE(" "&TRIM(TEXTJOIN("",TRUE,IF($C2:$AA2<>"",1," ")))," ",REPT(" ",99)),99*COLUMNS($A$1:A$1),99))) Copy down and across. In cell AP2: =LEN(TRIM(MID(SUBSTITUTE("...
  16. shrivallabha

    Get Part of Work Sheet Name

    Your aim and code do not align. Your code should be: Range("K2").Value = Left(ActiveSheet.Name, InStr(ActiveSheet.Name, "_") - 1) Syntax you have written Len(ActiveSheet.Name) - InStr(ActiveSheet.Name, "_") is more useful to take remainder part of the string after "_".
  17. shrivallabha

    Help to extract sub groups from original data

    If you are okay with adding a column to your layout then you can use Pivot table. See attached file.
  18. shrivallabha

    How to split a number in different cells, excel macro

    Cross-posted : https://stackoverflow.com/questions/62910974/how-to-split-a-number-in-different-cells-excel-macro In case of cross-posting just make sure that you inform about it. Since you are a new user will recommend you to go through forum rules...
  19. shrivallabha

    100 Seprator formula in excel

    If it is only representation you care about then you can try: =LEFT(TEXT(ROUND(K7,0)*10,"#,##,#"),LEN(TEXT(ROUND(K7,0)*10,"#,##,#0"))-1)
  20. shrivallabha

    I am unable to write formulas in the attached .csv file?

    CSV is flat file format so in principle you need to save the file in native Excel format (.xls, xlsx, xlsm, xlsb etc).
  21. shrivallabha

    if function with less than and greater than

    You need to reconsider your formula approach from logic perspective as well. & is concatenation operator and what you probably want to do is to test AND condition which is not the same. CR6<35&CR6>30 should be AND(CR6<35,CR6>30) So you need to be aware of a situation where the value is 35, which...
  22. shrivallabha

    Excel formula count unique values with multiple criteria

    You can try following array formula (to be committed by CTRL+SHIFT+ENTER) =SUM(--(FREQUENCY(IF(B2:B41=E4,INT(A2:A41),""),INT(A2:A41))>0))
  23. shrivallabha

    Delete characters

    If you are going to do it once then you can also try find and replace as shown below (Replace with is completely blank).
  24. shrivallabha

    Concatenate() or

    I particularly like TEXTJOIN as it allows for adding conditions in the evaluation part so it makes it more flexible for users. It is one of the better enhancements to come out on formula front. Until then Harlan Grove's ACONCAT was used by many.
  25. shrivallabha

    Extract first letter from each word in cell

    You may like a thread by JvDV on Stack Overflow https://stackoverflow.com/questions/61837696/excel-extract-substrings-from-string-using-filterxml
Back
Top