Combining Two Functions Into One Cell?
Jul 23, 2014
I am trying to combine the following two function into one cell. The second column contains a "space" before the number. The third column is the result. =CONCATENATE(Q2,",",+R2) and =SUBSTITUTE(K2," ","")
Here is a sample table with showing the data and result
4
5L
4,5L
5
6R
5,6R
5
7L
5,7L
6
10R
6,10R
6
3L
6,3L
View 1 Replies
ADVERTISEMENT
Jul 6, 2006
The format for combining COUNTIF and AND in a
single function - I can't seem to get the format right.
What I want to do is COUNTIF range 'Issued_by' = A8 AND range
'Period_all' = 1
View 14 Replies
View Related
Oct 25, 2013
I roughly know what my equation should look like, but it keeps failing. Its all part of a wider spreadsheet but I will only put down that bits that impact this part of the sheet.
In my cell I need it to input a value from a different spreadsheet. The input value is text.
I currently use this formula and it works perfectly for what I need.
=(OFFSET(INDIRECT("sheet2!D"&$A7),R$6,25,1,1))
This would a return a variety of results such as "excluded","compliant","non-compliant".
I would like to arrange an IF function so that if the answer is Excluded to keep it as Excluded. But anything else to use this formula instead.
=(OFFSET(INDIRECT("sheet2!D"&$A7),(R$6-2),25,1,1))
View 3 Replies
View Related
Oct 13, 2006
Say I have written three user defined functions: first(a,b,c); second(a,b,c);third (a,b,c), which all give value for a,b,c inputs. How do I write a VBA program that uses the functions above? Say the code is called Combine(), after the user have typed in the value of a,b,c, the function Combine=first+second+third.
View 4 Replies
View Related
Jan 13, 2014
I am looking at combining 2 formulas and have them in a single cell. Currently I am using this one =IFERROR(IF(S3-V3=0,"Completed within agreed time!",S3-V3),"") if the value =0 but need another one if there's no value in V3 it would say "Outstanding" I have tried to add IFBLANK to the existing formula but I must be doing something wrong as it doesn't work.
View 1 Replies
View Related
Nov 26, 2008
I'm having trouble combining some values in cells. For example in cell A1 i have the value 372-25. In cell B1 i want to make A1 part of another value (it is an APN if you must know). So that cell would be 011-372-25-11. I would be adding 011 as a prefix to each cell and 11 as an ending. I'm sure there must be an easy way of doing this.
I have tried
=011-A1-11
="011-"A1"-11"
="011-A1-11"
View 4 Replies
View Related
Feb 22, 2010
I am trying to create one formula (in one cell) so that it performs the following three things:
1) Rounds any number to the nearest dollar
2) Makes the minimum dollar value $2.00
3) If another cell (G2) reaches $100.00 or more, I want it to revert to another cell's (B2) value.
So, in essence, I want to combine the following two things:
=MAX(2,ROUNDUP(F2,0))
AND
=IF(G2>="100",B2)
I do not know how to correctly order these so that it performs all three things I'm looking for it to do. I've posted this before, but was given an answer that created a circular reference and did not make the minimum value $2.00.
View 7 Replies
View Related
Sep 17, 2009
I am trying to combine multiple cells into 1 cell per row.
I would have "A" column empty, then combine "B", "C", and on into the "A" column.
Each cell value will be separated by a space or any special character I designate in the macro
I have attached an example which the output is separated by a space. Sheet1 has the original file and Sheet2 has the desired output.
View 9 Replies
View Related
Feb 8, 2012
I have the follwoing example. Basically, there is an "X" for each posession of Andrew (cells: B1, C2, D3, E4). What I'm trying to do, in another sheet, is centralize the below information in only one row for "Andrew", with an "X" under each of his posessions (all the 4 "X"-es are now in cells B1, C1, D1, E1).
CarPhoneHouseBoatAndrewXAndrewXAndrewXAndrewX
View 2 Replies
View Related
Jun 20, 2008
how can I combine the Formula =(SUM(A2:A100))/(SUM(B2:B100)) with setting a value of the cell D2?
What I want would look like this (in column C):
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=0
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=100
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=200
=(SUM(A2:A100))/(SUM(B2:B100)) with the condition that D2=300
and so on.
The point is that the values A2 to A100 are dependent on the input value in D2.
View 9 Replies
View Related
Dec 27, 2009
I am using excel 2007 and have the following information:
Cell A1: L6212- (formatted as text)
Cell B1: 05.50 (formatted as custom number 00,00)
When I merge the 2 cells using the concatenate formula I end up with
Cell C1: L6212-5.5
What I want is L6212-05.50
View 10 Replies
View Related
Jan 14, 2014
Say I have a column of numbers. I'd like to be able to string them together in the following format: number1|number2|number3....
connect.xlsx
View 3 Replies
View Related
Feb 18, 2010
I am trying to combine this formula with another formula but I cant get it right.
I have multiple worksheets that feed into 1 so I am using this formula to pull in the info.
=II.MissionCritical!C20. This info is a title like "Writing".
=II.MissionCritical!C23. This info is a yes or no.
So I need the =II.MissionCritical!C20 formula to also say if c23 is no add an *** to the front of the title. so the title would look like "***Writing". and if C23 is yes leave the title as is.
View 2 Replies
View Related
Feb 27, 2013
combining 2 rows that share 1 cell so that it is easier to format cells. For example: A4 and A5 have been combined with B4 and B5 to form 1 cell that has content. How can I convert this to a cell that only occupies A4?
View 1 Replies
View Related
Nov 19, 2013
I am trying to create one formula that can be copied to other cells to get varied results.
Here are the formulas
1. =IF('Calculated Rental Fees'!H4='Daily Rentals & Charges'!$B$28,'Daily Rentals & Charges'!$B$30,VLOOKUP('Daily Rentals & Charges'!$A$20,LATECHRGETBLE,2,FALSE)*C4
2. =IF(AND(I4>='Daily Rentals & Charges'!$A$36),I4='Daily Rentals & Charges'!$A$38),VLOOKUP('Daily Rentals & Charges'!$A$22,LATECHRGETBLE,2,FALSE)*C4)
Basically i am trying to calculate late fees for a rental company using the if and vlookup functions.
View 2 Replies
View Related
Jul 13, 2014
I am trying to use following string to find result into column F and unable to find reason for Error.
=INDEX($C$2:$C$5,MATCH(D2&E2,$A$2:$A$5&$B$2:$B$5,0))
A
B
C
D
E
F
1
part
code
price
find part
find code
Result
2
x
11
5
y
12
#VALUE!
[Code] ........
View 1 Replies
View Related
Aug 7, 2007
I have 5 columns AS-AW. Column AS contains a letter (either A, B, C, D, E, F, or G) which is generated by a VLookup formula. Columns AT-AW contain numbers (from 1 to 6) generated by a conditional formula. I need column AX to combine column AS with the smallest of columns AT-AW. Is this possible?
View 9 Replies
View Related
Oct 10, 2008
I'm trying to switch my vlookups to something more dynamic. I keep adding columns to the data sheet (sheet1 for these purposes) and so I have to go back and update all of the other sheets that use the vlookup. (I'll just give an example as sheet2 for these purposes)
So what I have currently:
=VLOOKUP(A5,Data_All,4,FALSE)
Basically the 'A' column in sheet2 has an integer value, and so the vlookup takes that integer and looks up on sheet1 which row corresponds to that integer and then returns that string value.
What I want:
='AO_Cat_' & 'A5'
Basically I have named every cell in sheet1 and the particular value that I want to pull is named "AO_Cat_%name" with the last part being the integer value. I don't know if that make sense or not. For example, on sheet2, A5 might be '16' and so the value that I want to pull is "AO_Cat_16"
If I were to do this from the VBA side of things, then it'd be a simple range("AO_Cat_" & id_number) where id_number was the lookup value. However, I'd prefer to have this directly as a worksheet formula for simplicity purposes.
View 9 Replies
View Related
Jul 29, 2014
I've been struggling with the following problem for hours now and getting nowhere fast.
I've got '=(100/X6)*L6)' in cell M6 which gives my percentage fine but I need to round to the nearest integer with '=ROUND(M6,0)' Question is how do I combine both functions to provide the nearest whole number in M6 ??.
View 6 Replies
View Related
Mar 27, 2014
What would the formula be to complete all three of these functions in one cell?
64
-3
61
When positive & negative then G1+T1=X
-8
-8
0
When negative & negative then G2-T2=X
3
2
1
When positive & positive then G3-T3=X
View 6 Replies
View Related
May 20, 2008
I made a drop down list in cell H11 for Marital status (married,defacto,single,widow). Those are the 4 options in the drop down list.
Now im trying to make in another cell IF (H11="Married" OR "Defacto,950,false)
but wont work, i know im wrong but i learn by trial and error or last resort MREXCEL and m ytrial and error didnt work.
View 9 Replies
View Related
Jun 17, 2006
I'm looking for a formula that can do 2 different functions in one cell. I have a subtotal in A1 and my total in B2. Now, I want B2 to say if A1 is lessequal to $100,000 then multiply by1.5% plus A1 and if greater than $100,000 muliply by 2.5% plus A1.
View 9 Replies
View Related
Mar 2, 2014
File I have attached or made a link for here Untitled-2.jpg
I am trying to make that amazon cell, all text to appear as one line like the second line foreign conversion fee i want it to appear like that. Rather then having to delete and modify 100's of rows like this.
View 6 Replies
View Related
Aug 20, 2009
I have about 20 choices I'd like a user to select from and have the text output to a single cell.
Just create a Data Validation List? Yeah, but that only allows you to select ONE of the items in the list -- I want to select as few as zero and as many as all 20, combining the resulting text into a single string - space or comma delimited.
My first thought was checkboxes, but all I can seem to figure out is how to get ONE of the results into the cell, meaning I'm better off with the Data Validation List because it's easier.
Especially since I need to repeat this for as many as 200 or 300 lines,
View 11 Replies
View Related
Oct 2, 2008
I'm trying to combine text and a cell reference using Indirect. Cell B1 contains the text "Region" (no quotation marks). In another cell I'm trying to create a reference to "Region total" (no quotation marks). By my limited understanding the below should work: =INDIRECT("b1"&" total")
But the cell returns #REF!. I've tried pretty much every combination of quotation marks around different elements of the formula I can think of. Cell B1 is a drop down list, don't imagine that's relevant, but it may be.
View 2 Replies
View Related
Jan 11, 2009
I have been reading through trying to find a similar post but the nearest i could find was one dealing with numbers rather than text. This is how the workbook looks.
Column A contains a list of numbers based on vehicle types. Column B contains a list of vehicle names.
A B
1 Car,
1 Taxi,
2 Bus,
2 Lorry,
3 Skateboard,
3 Bike,
1 Motorcycle,
What I am looking for is the best way to combine the text from column B depending on the value of column a. the finished results would then end up as: "Car,Taxi,Motorcycle,", or "Bus,Lorry," etc. This is just a simple list.. The one I am working with has around 2500 entries. I have been trying to do this using the CONCATENATE function and IF statement but it's just not working..... My head is ready to explode
View 2 Replies
View Related
Dec 4, 2013
I have a data set that I'm trying to sort in order to be efficient for some of my team members.
Below is an example of the raw data and how I've currently got it sorted. I think my problem may be that I am trying to join a number with a string but I'm not positive.
Col A
123-45678-A-1
123-45678-A-10
123-45678-B-2
I need to eliminate the letter from the data, add a leading zero to all single digit numbers and sort ascendingly.
My first step is to split the data into columns using the "-" as a delimiter. I end up with 2 columns as shown below.
Col A
Col B
123-45678-
1
123-45678-
10
123-45678-
2
Next I add a leading zero to Col B. The assumption is there will never be more than 99 numbers, so I use the following code:
Columns("B:B").Select
Selection.NumberFormat = "00"
To produce:
Col A
Col B
123-45678-
01
123-45678-
10
123-45678-
02
Now all I need to do is rejoin these 2 columns before sorting. My current code is:
Sub Rejoin_Container_Number()
x = 1
Columns("A:A").Select
Selection.Insert Shift:=xlToRight
Do While Cells(x, 2).Value ""
Cells(x, 1).Value = Cells(x, 2).Value & Cells(x, 3).Value
[Code]...
As many have probably already guessed, this produces the following result:
Col A
123-45678-1
123-45678-10
123-45678-2
I'm looking for:
Col A
123-45678-01
123-45678-10
123-45678-02
**zeroes in BOLD for reference only, result does not need to be bold**
View 4 Replies
View Related
May 9, 2007
A list of stock symbols runs down one column. In the next column runs a list of the corresponding companies.
The companies are linked in the following fashion: http://www.smallcapinvestor.com/quotes?symbol=ug
For the above example, "ug" is the stock symbol for the company United Guardian.
My question:
Is there a way to insert the text of a cell into a hyperlink? For example, how would I achieve this logic in Excel: http://www.smallcapinvestor.com/quotes?symbol=[CELL CONTENTS HERE]
View 9 Replies
View Related
Oct 26, 2007
When using watch window to watch a formula that has multiple formula's in it, is there a way to see the result of 1 formula within the big formula?
E.g. say you have:
= SUMIF(A1:A11,"207",B1:B11)/COUNTIF(A1:A11,"207")
And you put a watch on that, but in watch window it shows the result of the whole formula, say if you want to watch only the SUMIF part?
Im using Excel 2003 by the way.
View 5 Replies
View Related
Jul 20, 2009
For making quotes at work, I'm looking to have the quotes named automatically. The format of naming our quotes is the date (in this format) then quote name: yymmddNAME (Example for today: 090720EXCEL)
I'm using the =NOW() function for the date (Cell A1), then doing a custom format to turn the format into yymmdd then in a different cell I'm putting in the "NAME" (Cell A2) and what I want to do is combine the 2 cells (Cell A3) by doing: =A1 & A2
but when i do this, the format of the date gets messed up.
View 2 Replies
View Related