Adding Multiple Find With Left / Right
Feb 21, 2014
I am compiling a database of tennis stats for various players. I input the set scores (like 6-4) and I then need excel to find "-", go to the left and right, and add up all cells containing these scores on a full row.
For example:
6-4, 6-4, 6-4 would become 18-12
I can do this by using "find" and left/right. The problem is, the more records I add, the more I have to keep changing the formula.
[Code] .........
Is there a faster way to do this, preferably without using macros.
View 14 Replies
ADVERTISEMENT
Nov 19, 2009
I want to grab everything left of the last occurrence of "." in a string, and in the next cell everything right of the last occurrence of "."
so say the string is 111.111.1.222
column 1
111.111.1
column 2
222
my current code (which works, but its messy) for the first cell is
View 3 Replies
View Related
Nov 26, 2008
Obscure lines of info which I'm trying to break up into pieces. Being able to find from the right instead of left would be REALLY handy. See attached example with details and example!
View 3 Replies
View Related
May 2, 2014
Cell A1 = 78-36
This is a win/loss ratio so to have it as a percentage I would have to divide the first number by the sum of the two numbers so 78/114 = 68.4% How would you do this with a formula?
I came up with this that isn't quite right, because RIGHT and FIND don't work together.
=LEFT(A1,FIND("-",A1,1)-1)/(LEFT(A1,FIND("-",A1,1)-1)+RIGHT(A1,FIND("-",A1,1)-1))
There must be a smarter way of doing this. TY
View 8 Replies
View Related
Feb 22, 2008
I have the name bloggs, Joe in cell A1. Is there away to flip the name around and get rid of the comma.
i.e. Joe Bloggs
View 9 Replies
View Related
May 25, 2007
Got the following formula:-
=LEFT(L5, FIND("(",L5)-1)
I need to add the SUBSTITUTE function to this but can't figure out where it goes if somebody could point me in the right direction please? My substitute formula is SUBSTITUTE(L5,"car","train").
View 4 Replies
View Related
Oct 27, 2008
I am trying to find a code that will simply find the last cell in Column A of a named Range (titled: ConditionlFormatArea)?
Also IF I could get a line(s) of code that would just find the last cell in Column A of the Used Area.
I ask for both because I am not yet certain which line of code will work best for me.
When I have that cell located I need to Remove the Conditional Formatting. I think I can get the code for that part.
View 9 Replies
View Related
May 21, 2014
Im trying to pull together a formula to achieve the below. What i have is a spreadsheet to be used by staff in different countries so im looking to make it easy to modify the categories used without the user needing to do anything complex with formulas.
The right hand side of my file (C:E) shows a code for each year we have covered a country with the year as a prefix (2014 - Blah). The left (A:B) is a summary showing the latest year we covered that country.
Current formula:
{=IF(COUNTA(C2:D2)<=0,"","✔-"&MAX(LEFT(C2:D2&"0",4)*1))}
The current formula works fine if you set the columns to where the data actually is but for ease of use i need it to look at the data in rows 1:2 and match up the Continent/Country and then MAX the dates.
View 1 Replies
View Related
Dec 9, 2013
I'm looking for a way to split a cell with text into two cells. The first cell can only contain up to 40 characters, the rest needs to go in the second cell. However, I don't want the text to be split in the middle of a word. So basically, if the text is in cell A1, I need to find the closest space to the left of position 40 in A1, and move anything to the right of this position to B1. Example:
Original text:
A1: One green apple and a bucket of small onions that smell nice
I want to avoid this:
A1: One green apple and a bucket of small on
B1: ions that smell nice
I want to achieve this:
A1: One green apple and a bucket of small
B1: onions that smell nice
View 4 Replies
View Related
Mar 30, 2008
Im going to try to make this as clear as possible. I cant use my actual data because it wouldnt make any sense to anyone so Ive made up an example problem. Here goes...
Lets say in Sheet 1 I have two descending columns of data. Column A is MODEL of Vehicle (Civic for example). Column B is vehicle identification number (xxx for example). Sheet two has 4 columns of data, but only one is really required for this example. Cell A1 is the MAKE of vehicle (Honda for example). Directly below that in Cell A2 is the MODEL of the vehicle (Civic). There are then a few rows of empty space until it gets to the next vehicle MAKE and MODEL.
So in Sheet1 there is a long list of MAKE's in ColumnA and VIN's in ColumnB. Sheet2 Has a long list of MAKE's and MODEL's in ColumnA and random data in other columns.
What I want to do is assemble a Macro to start in Sheet1-A2, read the MODEL then copy the corresponding Vehicle Identification Number in B2. I then want it to go to Sheet2-A2 and start searching downward until it comes across a matching MODEL. Once it finds the match I want it to step downward 2 cells and paste the Vehicle Identification Number. Then return to Sheet1-A3, and repeat the process until EOF.
View 9 Replies
View Related
Feb 5, 2014
how to plot Multiple left Y axis display in Multiple draw line graph. Already I have created Right Y axis. I want to draw 4 Line graph in one graph 3 are Left Y axis and one is Right y axis.
View 1 Replies
View Related
Aug 2, 2012
excel.jpg
What's this all about? And not that there are a few random numbers that are displayed correctly...what's up with the rest?
View 6 Replies
View Related
May 8, 2014
I have a 2010 excel sheet containing 14 columns and 45082 rows in total. I am quite illiterate when it comes to writing macros but I know that what I need can be achieved with a set of codes.
To be more clear, I inserted two tables below. The first one represents the current data structure, and the second one is the way I want my data to look like.
Current data structure looks like
Variable 1
Variable 2
Variable 3
[Code].....
View 9 Replies
View Related
Apr 29, 2014
I've got a long list of account numbers of varying length and ultimately need to add a dash and a dot into these numbers. Here's an example
12345678 to> 1-2345.678
123456789 to> 12-3456.789
1234567890 to> 123-4567.890
The standard format is always 3 numbers after the . and 4 numbers between the - and .
I can get to this by doing a series of functions starting with this:
=LEFT(A1,LEN(A1)-3)&"."&RIGHT(A1,3) to get 12345.678 or 123456.789
copy/pasting that value into another field and then doing this
=LEFT(E1,LEN(E1)-8)&"-"&RIGHT(E1,8) to get the results above
I can't quite figure out the format to combine the multiple steps/functions into one so that I'm not copy/pasting values and re-doing the function.
View 7 Replies
View Related
Jan 20, 2009
I'm trying to put together a spreadsheet that tracks disc capacity increases, affected by any incoming projects. I've managed to do so for one project, but would like to for up to 10. The way i've designed the solution (i'm sure there are far more elegant ways, but hey) is thus:
A forecast worksheet keeps track of a grand total, taking information from sheets P1 -> P10 (being projects 1 to 10). I am unable to figure a way to add up all the increases from all 10 project worksheets with one succinct formula. What I use so far is: ='P1'!C83+SUMIF('P1'!E82,"=2009 - Q1",'P1'!D82) ..................
View 5 Replies
View Related
Feb 5, 2009
I am having trouble filling a formulae series to the left on one spreadsheet, the fomulae being references to another sheet.
For example, I have two sheets 'Mtce Options' and 'Base Case'. In 'Mtce Options' I have the following formulae
A B C
1='Base Case'!A15='Base Case'!D15='Base Case'!G15
I want to fill to the left, incrementing the column references by a factor of 2 each time, eg. next two should be ='Base Case'!J15 and ='Base Case'!M15.
However, if I autofill to the left by highlighting A1, B1 and C1 or just B1 and C1 all I get is an inappropriate reference such as ='Base Case'!D15 or ='Base Case'!F15, respectively, in D15.
View 2 Replies
View Related
Sep 9, 2013
I am trying to find the median of a set of numbers on a column that correspond to dates on the left column. I want a monthly median average of the numbers on the right which correspond to the dates on the left. So for example. I want to make an equation that gives me the median of all the numbers on the right if they fall within the range of a certain month(in this case October). I've tried These:
=IF(COUNTIFS(A:A,">=10/1/12",A:A,"
View 4 Replies
View Related
Mar 1, 2012
Items in Column A1 are calculated by (B2/4+5)*1.4 Items located under the columns 2000, 3000, 4000, etc... 10,000 are calculated by taking the top number, eg 2000/(A1 cell value)+the column B number. 2000/7+0 = 286 (rounded numbers)
I need to find an way to look up for x number (2000,3000,4000, etc...) find the smallest number in that column and then return the value in column A1.
Cell
A1 Number >2000300040005000600070008000900010000
70 2864295717148571000114312861429
84 24236148059971883795610751194
[Code].....
View 2 Replies
View Related
Aug 12, 2014
I have data arranged in cells A1 to Z1 as Name1, Amount1, Name2, Amount2, Name3, Amount3, etc. Is there a formula that can determine the name that corresponds to the maximum amount in the row?
View 7 Replies
View Related
Apr 10, 2008
WednesdayThursdayJob1Job2Job3Job4Job5
would like to be able to put the total amount in dollars on each job number for each day if that is possible. I cant think of an easy way of doing this just multiple sheets.
ex: on wednesday job 1 would be $167; job 2, $0; job 3, $104;etc..
NameJob #WednesdayJob #ThursdaySS#Rate/Hr23ABC123$11.001718ABCD1234$15.001646ABCDE123245$13.003838ABCDEF123456$16.004927
View 10 Replies
View Related
Nov 5, 2008
Here is what I have In cell H4 I put the following code =B5:G5
But when I add number in thous cells nothing happens. I want cell H4 to keep a running total of cells B5 through G5 so as I add numbers to the cells I would like the total in H4 to change.
View 2 Replies
View Related
Nov 18, 2009
I have several cells that I use the "DATEDIF" function to added dates and display as, "1 M 2 D". I need to add the multiple results to get an sum of all of them.
Column C1 is the start date.
Column C2 is the finish date.
Column C3 is a separate start date.
Column C4 is a separate finish date.
I used the following formula to get the month/day count for each separate start/finish dates: =DATEDIF(C1,C2,"M")&"M"&DATEDIF(C1,C2,"MD")&"D". Both give me the result I need. I have blown a gasket trying to add all the start/finish into a single Month/Day number. Sample result should look like this:......
View 3 Replies
View Related
Jul 31, 2014
I'm having issues with a formula that I am using to add three vlookups together. The problem is that there may or may not be data in one of the columns I am looking up with the vlookup. I am looking up hold times for reps each week then adding them together to get a monthly sum. This formula works when data is available for all 4 weeks. When I have a rep that started in the middle of the month there isn't data for all 4 weeks so I want Excel to just treat that as a 0 or Null, Currently it just provides a 0.0 for the whole thing instead of adding what is there.
=(IFERROR(VLOOKUP([@Name],Sheet2!A:H,2,0),0))+(IFERROR(VLOOKUP([@Name],Sheet2!A:H,4,0),0))+(IFERROR(VLOOKUP([@Name],Sheet2!A:H,6,0),0))+(IFERROR(VLOOKUP([@Name],Sheet2!A:H,8,0),0))
View 9 Replies
View Related
Jan 18, 2007
I am performing a sumif to look to see if a number starts with #, then another to see if the the class is text, both are fine and both return values of 1 if it meets the criteria. My problem is i then need to add a sumif (or something im not quite sure wot) to add the cost if the number begins with a # and the class is text (so baically if both the other sumifs = 1).
View 9 Replies
View Related
Apr 25, 2014
I have a quotation that I am working on that I need to add 12.5% onto each seperate line price.
There are 300 individual lines on the quote all with different pricing but they all need 12.5% adding on so I am hoping there is a simple way to do a bulk sum for all of the rows rather than having to go through each row and creating a sum for each. - ie =(K28*1.125)
View 3 Replies
View Related
May 13, 2014
=IF(A5:A6="John","Present", "Off")
How to add few more names aside from John. What if I wish to add names like William or Leo on the search criteria?
For example, John or William or Leo
View 4 Replies
View Related
Jun 24, 2014
I'd like to add the numbers in column C that correspond with Fuji, Fuji Royal, or Fuji Premium in Column B. Essentially I am trying to count up the total number of all variety of Fuji apples. I've tried using the sumif and sumifs formula, but haven't been able to crack it.
RED APPLESSIN ESPECIFICAR2.352
RED APPLESROYAL GALA1.029
RED APPLESCRIPPS PINK280
RED APPLESROYAL GALA896
RED APPLESCRIPPS PINK1.064
RED APPLESFUJI867
RED APPLESFUJI PREMIUM1.919
RED APPLESROYAL GALA4.871
RED APPLESCRIPPS PINK1.176
RED APPLESFUJI112
RED APPLESROYAL GALA1.064
RED APPLESSIN ESPECIFICAR2.282
RED APPLESSIN ESPECIFICAR4.522
RED APPLESCRIPPS PINK1.176
RED APPLESROYAL GALA2.352
RED APPLESCRIPPS PINK7.056
RED APPLESFUJI1.96
RED APPLESPINK LADY1.344
View 9 Replies
View Related
Feb 18, 2014
I have a spreadsheet with 4 columns.
A, B, C, D
I want to multiply A*B and then add that to C*D
=SUM(A*B)+(C*D)=TOTAL
However, when I dont have a value/number in A or C I get a #VALUE in the total cell. It will only calculate properly when I have numbers in all 4 cells.
Is there a way to set it up so it will calculate if cells A or C are empty? I dont want to have a zero in these cells - just leave empty if no value.
Also - when the total cell is empty I want it blank.
View 13 Replies
View Related
May 6, 2014
I am using the formula =IF(OR(E2="COLD"),"33%")
Which changes my cell to show the text 33% if the text cold is entered into cell E2. Now what I would like to know, is if I can add multiple catch words to give alternate pre defined percentages. Such as warm and hot to give the respective answers as 66% and 99%
View 3 Replies
View Related
Jul 11, 2014
I have made a text box in one sheet where the user will enter the text that is to be added, and it works! How do I get the exact same text box to be entered into all of the sheets in my workbook?
[Code] .....
View 2 Replies
View Related