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

    find stand-alone number/integer in a text string

    Regarding your comments about global settings... If your data will contain commas instead of semi-colons, your global settings would not matter.
  2. Sajan

    find stand-alone number/integer in a text string

    Hi, There was an extra space in your first string that was throwing the second formula off. Try the following instead: =IF(SUM(N(ISNUMBER(FIND(LEFT(TRIM(MID(SUBSTITUTE(TRIM(A3)," ", REPT(" ",100)), (ROW(OFFSET(A$1,,,LEN(TRIM(A3))-LEN(SUBSTITUTE(A3,"...
  3. Sajan

    find stand-alone number/integer in a text string

    I copied and pasted the formulas above into your worksheet and got the following results sample text formula #1 comments formula #2 afdsa v3434 Good Bad afdsa v3435 dsfsf Good Good afdsa 3435, verr Bad Bad afdsa v3436 Good Good afdsa v3437, 4535435 Bad Bad 345 Bad Bad sdad(455)...
  4. Sajan

    find stand-alone number/integer in a text string

    Also, I noticed that the formula you are using is not the same ones I supplied. Specifically, the comma got replaced by a semi-colon in your workbook. Please correct that.
  5. Sajan

    find stand-alone number/integer in a text string

    Hello Rediska, The formulas I supplied are array formulas, and need to be entered with Ctrl + Shift + Enter, instead of just the Enter key. (you can confirm that it worked by noticing {} on both sides of the formula in the formula bar.) Let me know if you are still seeing any issues. Cheers...
  6. Sajan

    To repeat row values, a specified number of times

    Hi Debraj, It is always good to look at a problem from different perspectives...! By the way, you should also consider the N() function. Cheers, Sajan.
  7. Sajan

    To repeat row values, a specified number of times

    Hi again, I like to complicate things unnecessarily! So here is a simpler version in H2 =INDEX(SINo,MATCH(1,SIGN((COUNTIF($H$1:$H1,SINo)<RepeatAmt)),0)) enter with Ctrl + Shift + Enter For repeating sequences, try the following in cell G2...
  8. Sajan

    To repeat row values, a specified number of times

    Hi Ramanan, Welcome to the forum! If your list could repeat, then try the following array formula in cell G2 and copy down =INDEX(SINo,MATCH(1,SIGN(ISNA(MATCH(SINo,G$1:G1,0))+(COUNTIF($G$1:$G1,SINo)<SUMIF(SINo,SINo,RepeatAmt))),0)) enter with Ctrl + Shift + Enter If your list does not...
  9. Sajan

    Calculate duration (day/month) of period, between a selected period

    Hi, Just for fun, here is one more approach for calculating number of overlapping months: =TEXT((NPV(0,TEXT(MIN(D2,D3),{"y","m"})/{1,12})-NPV(0,TEXT(MAX(C2,C3),{"y","m"})/{1,12}))*12+1,"#;0")+0 Cheers, Sajan.
  10. Sajan

    Help on this Please . How do i find a count between two date ranges

    Hello Rahul, Not sure if you wanted to change the date in cell C2 to a date in the year 2010 or 2013. The counts do not change when the date is in 2010 since that date is less than the date in F23 Cheers, Sajan.
  11. Sajan

    Now, how to find the last name?

    Hi Rahul, I would encourage you to try out a formula before declaring it as non-functional. I know the formula works correctly since I tried it out multiple times. Regarding your questions... A$1 in that formula creates an array (such as {1;2;3;4;5} proportionate to the length of the string...
  12. Sajan

    Now, how to find the last name?

    Hi Rahul, Not sure what to say... I just copied / pasted the above formula from this page onto an Excel worksheet, and it worked for me as expected. (Please note that the formula refers to cell A11 and not A1) -Sajan.
  13. Sajan

    Now, how to find the last name?

    Hello Rahul, Did you remember to enter the formula with Ctrl + Shift + Enter (instead of just Enter key)?
  14. Sajan

    IF, VLOOKUP? and SUM Help

    Hi Ozbear, Thanks for the feedback! Happy to help! Keep visiting this forum... and in no time you will be creating better formulas than the one above! That is what I did! Cheers, Sajan
  15. Sajan

    Now, how to find the last name?

    Hello Rahul, Here is one approach... For value in cell A11 =MID(A11,MATCH(2,1/(MID(A11,ROW(OFFSET(A$1,,,LEN(A11))),1)=" "))+1,LEN(A11)) enter with Ctrl + Shift + Enter Cheers, Sajan.
  16. Sajan

    find stand-alone number/integer in a text string

    Hello Rediska, Here is one more array formula for a value in A3: =IF(SUM(N(ISNUMBER(FIND(LEFT(TRIM(MID(SUBSTITUTE(A3," ", REPT(" ",100)), (ROW(OFFSET(A$1,,,LEN(A3)-LEN(SUBSTITUTE(A3," ",""))+1))-1)*100+1,100)),1),"[]{}(),0123456789"))))>0,"Bad","Good") enter with Ctrl + Shift + Enter (Same...
  17. Sajan

    find stand-alone number/integer in a text string

    Hello Rediska, Try the following array formula against a value in A3 =IF(SUM(N(ISNUMBER(FIND(LEFT(MID(A3, ROW(OFFSET(A$1,,,LEN(A3))), MMULT(FIND(" ",{""," "}&A3&" ",ROW(OFFSET(A$1,,,LEN(A3)))),{1;-1})),1),"[]{}(),0123456789"))))>0, "Bad","Good") enter with Ctrl + Shift + Enter I tried it...
  18. Sajan

    find stand-alone number/integer in a text string

    So, the following are considered stand-alone... Please confirm. Any number after a space, as long as it is followed by another space or end of string Any number that has a comma prefix or suffix, including "A,234,B" even though "A" and "B" are adjacent to the commas. Is this a valid condition...
  19. Sajan

    find stand-alone number/integer in a text string

    Hello Rediska, Can you clarify what you mean by "stand-alone"? From your sample, it appears that () still qualifies as stand-alone, but if the number is preceded by a single letter, it is not. Are there any other conditions that we should be aware of? Please upload a sample file that is...
  20. Sajan

    What excel books members are reading / recommend

    A well ripened Halloween pumpkin?!! Since it is Halloween season here, this piqued my interest! What does a well-ripened Halloween pumpkin look like? Is it the size, the softness, the juiciness, aroma, color, or the density of the pumpkin flesh (or perhaps all of the above!) that would be...
  21. Sajan

    VLOOKUP Query

    Hi Bob, Thanks! -Sajan.
  22. Sajan

    VLOOKUP Query

    Hi Jaine, Thanks for the feedback. Glad to help! AwardCodes and AwardRates are named ranges in your worksheet that I setup to make referencing easier to read. You can just easily substitute them with the actual ranges. The key advantage to named references is that if you need to change the...
  23. Sajan

    IF, VLOOKUP? and SUM Help

    Hello Ozbear, Welcome to the forum. First of all, kudos to you for taking the time to explain your requirements. Wish more posters were like you! Attached is a revised worksheet with the following formula applied to columns H to T in the Calculations tab. Let me know if that is what you...
  24. Sajan

    Ratio

    Brevity is the soul of wit! Unfortunately, that does not apply to explanations! Since I still do not know what you are after, I would encourage you to upload a worksheet with at least a mockup of what you are after.
  25. Sajan

    What excel books members are reading / recommend

    Hi Sachinbizboy, I will look to others to comment on any of the VBA books out there. (I have not read any of them since I find a quick Google search is more efficient for my occasional dabbling in VBA!) I would encourage you to get at least a basic understanding of data structures, data...
Back
Top