Determining Larger Value Cell & Combining With Another C
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
ADVERTISEMENT
Feb 5, 2009
I am looking to return the larger value of 2 cells into a seperate cell.
View 2 Replies
View Related
Mar 4, 2014
I have a situation where I have a column with 10 numbers in it... say A1 - A10 each contain an equation that will solve to a numerical value. If one of these does not solve and gives me a "#VALUE!" response, how do I tell a function to look for that? I'm specifically attempting to use Match to find it, in this case "=MATCH("0",A1:A10,0)".
View 4 Replies
View Related
Apr 20, 2009
I am trying to use the codes below to find text "xmxy" and "xmx" within a column, then try to move the cells between the texts to the right by one column. I believe that the problem for the code below is that
Cells(j, "B").Insert (xlShiftToRight)
or If Cells(i, "B").Value = "xmxy" Then has limitations. I read that when you dim a variale as integer, it only can contain value between -32,768 to 32,767 . But I have more than 32,767 rows of data. I have already set dim i,j, etc. as long, but how do you set the cells range to recognize number larger than 32,767?
Sub ShiftRightbbb()
Dim i As Long, j As Long, lastrow As Long, rowscount As Long, count As Long
lastrow = Range("b" & 65000).End(xlUp).Row
For i = 1 To lastrow
If Cells(i, "B").Value = "xmxy" Then
For j = i To lastrow
Cells(j, "B").Insert (xlShiftToRight)
If Cells(j, "C").Value = "xmx" Then GoTo Nextgroup
Next j
Nextgroup:
End If
Next i
End Sub
View 9 Replies
View Related
Dec 17, 2013
Currently using "=IF(CC3=CF3,1,0)"
I would like to loosen this up by +/- 1.5% of the difference between the two cell values would produce a positive result.
View 3 Replies
View Related
Feb 27, 2014
I have the following data
A1 - 65.23
A2 - 1923.52
A3 - 945.18
A4 - 182.54
In column B
B1 =exp(A1)
B4 =exp(A4)
both are fine, however
B2 =exp(A2) - it is showing #NUM
B3 =exp(A3) - it is showing #NUM
Same case for all larger numbers
View 1 Replies
View Related
Nov 26, 2012
I have 83,33 value. If I like to increase into 84 and not 83 without decimal point
View 11 Replies
View Related
Dec 12, 2006
I want to do is import a TXT file that has about 70000 rows of numbers into excel. I know it has a max of 65536 so I would like it to import the numbers and put them into 2 columns C and the rest
in D.
Sub ImportLargeFile()
'Imports text file into Excel workbook using ADO.
'If the number of records exceeds 65536 then it splits it over more than one sheet.
Dim strFilePath As String, strFilename As String, strFullPath As String
Dim lngCounter As Long
Dim oConn As Object, oRS As Object, oFSObj As Object
'Get a text file name
strFullPath = Application.GetOpenFilename("Text Files (*.txt),*.txt", , "Please selec text file...") ........................
View 9 Replies
View Related
Jan 23, 2008
I'm trying to extract a first name and surname from a username :
CN=Joe Bloggs/OU=stneots/OU=EU/O=SAC needs to read Joe Bloggs
CN=Fred Smith/OU=stneots/OU=EU/O=SAC needs to read Fred Smith
CN=Ray Jones/OU=stneots/OU=EU/O=SAC needs to read Ray Jones
The string is always in this format and the name always has a space between. Given a day or so I could probably figure it out, but unfortunately deadlines are breathing down my neck,
View 9 Replies
View Related
Aug 15, 2006
I know function Vlookup finds the largest value less than or equal to the given value. However, If I want to finds the smallest value larger than or equal to the given value, How can I do it? assuming I do not want to use VBA.
View 5 Replies
View Related
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
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
May 1, 2009
I have Excel file A with a full list of IDs that were selected to take part in a study - about 5000 IDs with only one field "ID". I also have Excel file B with about 1500 ID of people from file A BUT who already took part in the study. Now what I need to do is filter out from file A all the people in file B so in file A I am only left with those who didn't take part.
View 2 Replies
View Related
Jun 7, 2013
I'm having some problems sorting a list of numbers that some are larger than others, but it would sort it by how large the number is in regards to 123 or 45... 45 would go first instead of 123... I tried to change the column to numbers but it still won't work. as well as in the custom sort section. I'll try to upload a sample...
View 11 Replies
View Related
Apr 15, 2009
I have a macro that should be exceptionally simple and works fine up until the point where I try to use an If statement with a conditional.
I have run the macro up to the If statement, at which point FinalRow is 40 and StartRow is 6, so the If statement below should run but it doesn't. I've had this problem before and just given up, the only thing I can think of is that the If statement only compares the first digit in the String.
I've only copied a small part of the code as I don't think the rest is relevant and just muddies the page but I can paste the rest if needs be...
View 3 Replies
View Related
Nov 10, 2008
I am currently using the following formula:
=SUMPRODUCT(('Step 1_Data_Current Qtr'!T2:T10000=B2)*('Step 1_Data_Current Qtr'!C2:C10000<>"")*1)
...to count the number of instances in a data set where:
T2:T10000=B2 is counting records where the value in the cell is set to B2
and
C2:C10000<>"" is counting records where the value in the cell is not blank.
The current formular is working, but I want to change the formula so that the values in C2:C10000 is looking up specific names (in this case, physicians) and not just where the field is not blank. How can I change to lookup physicians in a specific list that may change, located in a separate tab from the main data set?
View 11 Replies
View Related
Nov 25, 2012
I have a table that receives the number sequence 1 and sequence number 0.
I need to calculate the highest sequence numbers that repeat in Secunia lines.
A
B
C
D
E
F
G
H
I
J
K
L
Result
1
1
1
0
0
1
0
1
0
1
1
0
3
[code].....
See for example the last line.
1 1 0 0 1 0 1 1 1 1 1 0 = 5
I have a sequence number 1, where it repeats 5 times segudamente.that is greater than other sequences.
View 3 Replies
View Related
Jul 11, 2007
I have a form in excel that has a box which prompts you to add a picture when you click on it. It then resizes the picture so it fills the box. The file with no pictures is 2.3 MB. The picture is 700 KB. The file with the picture is 24.5 MB and 49 MB with 2 pictures. I need to E-Mail the form to other people but I can't send anything larger than 22 MB. I tried using th compress pictures option on the toolbar but it only took it down to 23.9 MB for a file with one picture. Why is it doing this and how can I make the file smaller?
View 9 Replies
View Related
Apr 8, 2008
Each time he clicks on a command button, the size of the command box grows larger and larger until it eventually is covering over the display area of the report. Also, the other buttons along with the one he clicks grows larger.
View 9 Replies
View Related
Sep 19, 2006
I hope my title was clear enough, but I’m not sure how to set this up. I have numbers in cells B4 and B13. I want to take the largest of these two numbers and multiply it by 0.85. I then want to take this number and compare it to a number in cell B23. If B23 is greater than the larger of B4 and B13 X 0.85, I want B33 to display “No” in a boldfaced red font. If B23 is less than the larger of B4 and B13 X 0.85, I want B33 to display “Yes” in a normal black font. This formula will be in cell B33.
View 5 Replies
View Related
Mar 5, 2007
I have a command button in a spreadsheet that for some reason each time I click it, the button and text gets larger. I can edit the button to shrink it down again, but can't stop the growth...
View 6 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