left formula

  1. T

    Collecting information from a cell

    I would like to get the elements from col A but stop at 0. For example, T02MC01X I want to get all digits up to C like T02MC and not include what comes after C. I have the following formula that only works for this case =LEFT(A3,5). If I have something like LDF01X the formula wouldn't work...
  2. G

    Help to get characters from different cells based on same character

    Hello, I would like to know if it's possible to have some formula to get the specific characters from two or three different cells based on same character in it. I am using this formula at the moment =LEFT(A2,FIND("_",A2)-1) to get the characters I want. for example below table: 1_aaaa_x 1...
  3. V

    IF and Left

    I currently use the formula Range("D2").Select ActiveCell.FormulaR1C1 = _ "=IF(LEFT(RC[-2],5)=""DAVID"",""DAVIDE"","""")))))" but I would like to be able to put something like this, only I don't know the correct way: If Range(B2).value (LEFT(RC[-2],5) = "DAVID" Range("D2").value...
  4. V

    Lookup number from string in pivot using index/match/left

    HI, I am trying to return a value for a number in a string in a pivot table. Currently I've been using index/match with left but keep getting #n/a return value. Open to any suggestions :) THanks!
  5. S

    How can I extract a certain number of characters before a particular string or character?

    So I have data in a column that is delimited by spaces. It would be simple to delimit by the spaces to get the desired result but the data is not as you can see below: 5pt 3rb 1st 1bl 1-2fg 3-4ft 0pt 5rb 1as 3bl 1to 0-3fg 4pt 5rb 2bl 2-8fg If I delimited by space, I would have st...
  6. T

    put the value of a cell in one worksheet in another worksheet based on a criteria

    This is my source data on worksheet 1: Column 1 Column 2 Name Date Peter Joe A Mary Nancy A In worksheet 2 I would like the names listed of all who have an A in the date column, I've tried index and match but am not getting the correct results. I'm not able to move the...
  7. T

    Combine Index with indirect function

    Hi everyone, I am stuck trying to figure out some formula in Excel. I have a column of some descriptions of a transaction and I need to aasign to them names (for example, to whom they belong or just for the purpose of making sense out of them). (Table 1) By looking at them, I found some...
  8. R

    Splitting cell values based on 12th space from the right

    Hi All, I currently have data sitting in the first column A in the following format representing line items from Period 1 to 12 4-4030 Fees and Charges-Unrestricted 5,623 5,811 5,610 5,733 7,563 5,417 5,484 6,152 10,962 4,487 4,835 4,412 72,091 73,660 (1,570) 4-5035 Recoupments 0 0 0 0 0 530 0...
  9. M

    Combining =left and vlookup - not working, as expected

    Hi I need to limit the number of characters that I'm getting from a vlookup formula. The current formula is =IFERROR(IF(F3="","",VLOOKUP(F3,'Data'!E:F,2,FALSE)),"") and it brings back the right result. But I need to add an =LEFT formula, so it only takes the first 50 characters. I've...
  10. D

    Sum Values in column if Left 3 in another column are specified, and values in a different column are in a specified named range

    Hi All, I have a large set of data (example below). I would like to Sum the values in column A, if the date is a specific date, if the LEFT 3 values in column B is "200", AND if the value in column C is in a specified named range (name: Include). Not all the data is unique which is fine. I can...
  11. A

    #Value, MODE, LEFT and time of day help, please.

    Hello all - I have been given some great help recently in trying to return the MODE of a series of TIMES (as in times of day). This has been very helpful, and I thank you all. Now I have hit a snag in implementing it. In col C2 I have the following formula: =IF(Main!DG3="X",Main!G3,"") This...
  12. C

    Using len and left functions together

    I have the following data: 15ab 12cc 6ll 9bc and i need to extract the number portion of the string. My text string will be either 3 or 4 characters long. If len=4, then left,2. If len=3, then left,1. I can't make the formula work in excel. Can someone please help?
  13. S

    Extracting 2 or 3 words before a match found

    Hi Friends, I tried to extract first 2 words using this =TRIM(RIGHT(A1, FIND(B1",SUBSTITUTE(A1, " ", B1,2)&B1))) below is the text in ColumnA A1=Refresh staging database use data pump B1=Data C1= =TRIM(RIGHT(A1, FIND(B1",SUBSTITUTE(A1, " ", B1,2)&B1))) some how did not work Can anyone let me...
  14. R

    Counting the number of cells with a number in a column

    I have a column in a spreadsheet that uses the =Left() function, what I end up with is rather: H, A, or a number. What I want to do is just count the number of cells with a number. I've tried a variety of things that I've seen from my Googling adventures, but haven't had any luck. Please help...
  15. K

    Nested IF and LEFT functions

    I'm not entirely sure how to nest a string of IF functions with a LEFT function. My IF function is as follows (located in cell W2): =IF(I2<>0,I2&", ", "")&IF(J2<>0,J2&", ", "")&IF(K2<>0,K2&", ", "")&IF(L2<>0,L2&", ", "")&IF(M2<>0,M2&", ", "")&IF(N2<>0,N2&", ", "")&IF(O2<>0,O2&", "...
  16. J

    Using 'Right' and 'Left' formulas - maybe(?)

    Needing to get these 7 digit numbers on their own, thinking it's a combination of the Left and Right formulas Number of characters is not constant so preferably wanting to trigger on the _ (underscores). Any help greatly appreciated <colgroup><col></colgroup><tbody>...
  17. D

    Conditional formatting based on date doesn't clear when date is erased

    One of my conditional formatting rules is giving me some grief. This might be simpler with VBA, but I'm trying to avoid using a macro-enabled sheet since the file is shared overseas, I'm new to the company, and I'm not sure how they'd feel about me modifying the sheet that much. Anyhoo... The...
  18. S

    Left & Search

    Hi Guys, This is what my text looks like. Example (2) PTY LTD (VIC) Example (2) PTY LTD-STHN (VIC) Example (2) PTY LTD-NTHN (QLD) Example (2) PTY LTD-CNTRL (NSW) I want to show data which is in front of second set of brackets - Example (2) PTY LTD I am using formula...
  19. fidelityfranchise

    Using lookup with mid or if with mid

    I am new to the forum and have a question regarding which type of formula to use... I have a set of values that export as text ($12.0K, $11.0K, $8.2K, etc.) and need to get the numerical portion out into its own cell. I know the right, left, and mid formulas can do this, however I am having...
  20. D

    Functions will not enter - Left, Find, If

    I am trying to enter formulas I have used for years, but I continue to get the general error message: The formula you typed contains an error. For information about fixing common formula problems, click Help To get assistance in entering a function, clcik Function Wizard (Formulas tab, Function...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top