If Function, Sourround Value With Brackets
Apr 1, 2009
i have several large tables of numbers. For my purpose I have to compare each entry of the table with a certain value, no problem so far.
Now if the entry is lower than the certain value i want to have the table entry sorrounded by brackts e.g. 0.8 spould change to (0.8).
Usually i did this by right mouse -> format cell -> number -> user define -> "("0.0")" for each entry individually. Now im getting tired ;-)
Is it possible to implicate the formating of a value into an if function ?
View 6 Replies
ADVERTISEMENT
Feb 27, 2009
I have a small problem that I may be able to deal with in another way, but if all else fails then I need some assistance.
I have this formula:
=AND(N3<=$U$1,MOD($U$1,N3)=0)
But unfortunately there will be a time when cell U1 will have the contents of perhaps 12(1). Is there any way to get the formula to ignore the brackets and the figures in the brackets?
View 4 Replies
View Related
Jul 16, 2007
=IF(AND(A1>=1,A11001,A1=10001,A1=25001,A1=1500001),(A1*0.333)+25000)))))
What is missing? (too many brackets at the end?) absolutely I've just mucked around with the formula given so have done something incorrect I think
A1 will contain Sales and I need to work out how much commission they'll get (ie, sales of between 25,000 & 150000 will get 50% plus $2500
View 9 Replies
View Related
Apr 28, 2009
I have a formula
{=IF(OR(D9=M4:S99),"m")}
For instance
This formula works
But when i click in the cell to edit the formula the {} (at the beginning and end) disapear and the formula no longer works.
If i add them back manually the formula still does not work.
How can i edit these formulas without stopping them working.
View 3 Replies
View Related
Nov 10, 2009
I have a long list of names with their locations in brackets. What formula should i use to delete the brackets and their contents only?
View 3 Replies
View Related
Jul 31, 2007
I have a value that is bracketed and I just want the number extracted to another cell.
I've shown three part lines of the data I need to extract from.
Cd56.5,(53.5),1:34.16,(36.22),
53.0,(53.0),1:36.32,(37.36),6/1,
-2.0,(54.0),1:59.26,(36.52),9/1,
The values I need are 53.5 from line one-53.0 from line two & 54.0 from line three.
As you can see they don't always sit in the same column.
View 9 Replies
View Related
Mar 18, 2004
I found a template at microsoftofficeonline.com it's just a bracket. I feel it has some underlying functionality, as they have a template in visio as well, but I can't figure it out.
So, what I'd like to do is have a workbook with say 100 worksheets. Each worksheet will have a person's bracket. Each person will write in all their picks. Their will be a master bracket where the actual winners will go, as the results are posted. When the master bracket is updated, Excel will flip through each worksheet, checking to see if the win in the master bracket matches the individual bracket. Points will be awarded or not.
Can that be done? I've also done a google search and can't get anymore help. I know that the web has multitudes of free versions, which I'd use, the only problem is that people would hesitate to register. doing it in excel, on the office system, there's no need to register, your cpu login takes care of authentication.
View 9 Replies
View Related
Sep 2, 2009
I have a list of Surnames in Column D, e.g. ANDERSON, BROWN, COOPER, but for some reason, who ever input the data, decided to include the salutation after that Surname, in brackets, where it was available, e.g. ADAMS (Miss), BUTTON (Mr & Mrs), COX (Dr).
So I'm trtying to remove everything within the brackets (if there is anything) and place it in Column C. I will then Replace the brackets and Trim the contents in Column D. Here is what I want the code to do
View 2 Replies
View Related
Jan 8, 2010
My code works great on my computer but when I bring it to another computer it gives me errors. I think it has to do with my use of square brackets to reference cells. the error that comes up is
compile error:
can't find project or library
What I'm doin here is going to my template sheet then getting the info from different cells and then later using it somewhere else. in place of using range and selecting cell I am using square brackets to select a cell. it worked fine on my computer and was a lot less writing, here is a small part of my code
View 9 Replies
View Related
Jan 12, 2009
I have a formula in a spreadsheet that must be entered by selecting Command (Apple) and Return. This puts parentheses around the entire formula. Example: {=A1+B1}
I have it in a SUM IF formula: {=SUM(IF('Dollars'!$A$2:$A$2546=A116,IF('Dollars'!$B$2:$B$2546=B116,'Dollars'!$E$2:$E$2546)))}
If it's not entered this way, it will not work. You cannot simply hit return for the formula to work.
Since I did this so long ago (4 years), I cannot remember what it's called; why it has to be done that way and how to do the same thing in Windows Excel.
View 3 Replies
View Related
Jun 30, 2014
I have this in cell F5
CM26 (85) CM16 (39) CM25 (12)
I need to add the numbers in brackets up and put the total in G5.
View 3 Replies
View Related
Oct 9, 2006
i encountered a problem with using the Indirect formula. it gives #REF error when i use it to refer to a sheet with brackets in them for example i want to refer to sheet "Data 101(1)" =INDIRECT(A1&"!A1"). I'm not allowed to change the sheetnames. is there a way around this using formula or vba?
View 6 Replies
View Related
Mar 22, 2007
I often see square brackets around ranges in code. eg [A1]
if there are any advantages/disadvantages with using this notation, apart from the obvious its shorter?
View 9 Replies
View Related
Apr 2, 2014
I am currently using the following format to display numbers in my excel.
_(* #,###,###_);_(* (#,###,###);_(* "-"_);@
The brackets and underscores are used so that the positive and negative numbers align with overhanging brackets.
I want to modify the format such that it is able to display decimals where ever applicable.
For example
1,000 display as 1,000
0 display as a dash "-"
1.265 display as 1.265
-0.51 display as (0.51)
I tried changing it to:
_(* #,###,###.###_);_(* (#,###,###.###);_(* "-"_);@
However it added a "." to all positive and negative numbers regardless of whether there were decimals after it.
e.g.
10 displayed as 10.
-30 displayed as (30.)
In otherwords - I am trying to find the "general" format and modify it to include brackets for negative number, and also modify it so that the positive numbers aligning with the negative numbers with the ) over hanging.
View 4 Replies
View Related
Dec 11, 2008
I have the following information in a cell. I want to get the exchange:ticker which is inside the brackets to be returned (coma delimited). How can I do this? One thing to note here that the number of companies in the cell can vary
Banco Bilbao Vizcaya Argentaria (CATS:BBVA); Banco Santander, S.A. (CATS:SAN); Banesto Banco Espanol de Credito SA (CATS:BTO); Banco Popular Espanol SA (CATS:POP); Caja de Ahorros y Monte de Piedad de Madrid; La Caixa Group, Asset Management Arm
View 13 Replies
View Related
Jul 12, 2013
my data in Col B is as follows:
Knee Pads (2)
Mounting Hardware (46)
Passenger Seats (3)
Pillion Pads (14)
Safety Harness (1)
Seat Covers (59)
[code].....
I am looking for a macro that will remove the trailing numbers and parenthesis so remaining data in Col B is as follows:
Knee Pads
Mounting Hardware
Passenger Seats
Pillion Pads
Safety Harness
[code]....
View 1 Replies
View Related
Feb 3, 2009
I have a spread sheet with 2000 fax numbers in the format:
(555) 123-1234
I am going through and reformatting them to read:
555123-1234 or 5551231234
Is there cell format code or some way to do this quickly rather than going through each cell and deleting the spaces and ()?
View 9 Replies
View Related
Jul 28, 2006
Is it possible to extract a number in brackets specifically from a cell, then increase it by 15%, and return the result back into the brackets.
For example the cell consists the following:
Mary (78)
so the aim is to get the 78 out for calculation, then change the content of the cell with the new result.
Or is there a macros that can be created for this?
View 5 Replies
View Related
Jun 9, 2007
I am importing into Excel a list of contacts from a txt file so I can make a mailing label database. I am able to seperate out the various parts of the address just fine but here's where it gets tricky.
Below is a example of the text I am importing:
Mr Dow Jones, 600 DIXON ROAD, TORONTO, ON M9W 1J1, CANADA (1-416-6757611)
I need Excel to look at the cell containing the country name and: 1st. see if there is a phone number present (this is the numbers between the () and if there is - place the phone number in Cell F1 and place the Country in Cell E1 but strip out both the () and the phone number. If there is no phone number present (and therefore no () I need Excel to go ahead and place the country name in E1
View 9 Replies
View Related
Oct 11, 2007
I tried to use the find and replace function to delete different numbers from different cells (all in one column) but the problem is that I want to delete different kind of numbers.
Let me give you an example:
Starting point:
Cell A1: Bookrunner: Barclays Capital(368.726m)
Cell A2: Bookrunner: DBS(368m)
Cell A3: Mandated Arranger: Commonwealth Bank of Australia (Singapore)(367.163m)
Cell A4: Mandated Arranger: DnB NOR ASA (Singapore)(367.163m)
I want to reach here:
Cell A1: Bookrunner: Barclays
Cell A2: Bookrunner: DBS
Cell A3: Mandated Arranger: Commonwealth Bank of Australia (Singapore)
Cell A4: Mandated Arranger: DnB NOR ASA (Singapore)
(I don’t want the information in “()” like “(Singapore)” to be deleted! Only the “()” which contains numbers)
I used the “find and replace” function to delete ever single number, but I think it’s a little unprofessional to do so!
View 8 Replies
View Related
Oct 23, 2007
I have a spreadsheet with 900 rows. All of the rows hold different information. The first column has contents such as this:
This is the text (please remove me)
This is some more text (I need to be removed too)
I want to remove from every cell, everything in the brackets - so everything from the first open brackets to the end of the cell contents). Every cell is a different length and the information within the brackets is different.
View 5 Replies
View Related
Mar 31, 2014
I'm trying to create an online order form using google forms. In my response spreadsheet I have an cell containing:
22" - Size 0 (£52.50),
24" - Size 2 (£60.00)
I desperately need to be able to extract the amounts within the brackets across to the next cell and in an ideal world add the amounts together. There could also be more than two sets of brackets, depending on the order being placed.
Is there a formula that can achieve this? All the ones I have tried will only extract from one set of brackets or will do both but then also include the string between the brackets too.
View 4 Replies
View Related
Jan 28, 2014
I have some data referring to % that comes in the format of 1.1% for a positive number and (1.1)% for a negative number
How can i get the 1.1% to display green and the (1.1)% to display red?
View 1 Replies
View Related
Aug 27, 2009
I have a worksheet that needs customers split into different price bands
here we go
I have 13 customers all from the same group (a)
1 customer in group (b)
1 Customer in group (c)
& 80 independant customers (d) worksheet only has 9 (1,2,3,4,5,6,7,8,9)
Column a is a list
D17 is the drop down list
D21 is the starting price
C2:D5 is the pricing multiple to be applied
What I am trying to achieve is when an independant company is chosen it defaults to d for pricing.
View 10 Replies
View Related
Dec 11, 2008
How would I modify a (very long) array formula, while preserving the brackets? Or re-creating them? I've tried doing it "at the cell" without luck.
View 2 Replies
View Related
Feb 22, 2012
(Split cell into multiple rows) I need a macro to remove contents within brackets in a cell.
Example:
A1 contains
[something, separated; a, couple of times; like, this] With, some; other, text
The result should be:
With, some; other, text
I want the macro to remove the brackets and everything within it for all marked cells. (I do not want to use search and replace function since I got a lot of these data and needs to repeat this procedure).
View 9 Replies
View Related
Feb 26, 2014
How the like operator works with brackets and # tags etc...
View 9 Replies
View Related
Dec 15, 2007
I am importing data into excel from another application. I place the data on a sheet and then use macros to re-arrage the data to another sheet. One column of cells gets populated with strings of the following format <text1>(<text2>)
I would like to extract <text2> and place it in a cell on another sheet. the length of text1 and text2 varies.
View 4 Replies
View Related
Apr 12, 2008
I have a column of data in the following format:
Hardware (somethingsmall) otherinfo
Hardware ( somethingdisplaced)
Blackbox item (somethingelse) other info
Service(aservice)
etc
I need to extract the data within the brackets allowing for additional spaces for use in a second query which will search for each individual line item in turn.
For some reason the query does not like searching for the raw data in it's current format so I'm trying to extract the key information for searching instead.
I can do it in excel by:
(Assuming data is in cell V36)
'in colum x
=FIND("(",V36)
'in column y
=FIND(")",V36)
'in column z
=MID(V36,X36+1,Y36-(X36+2))
in column aa
=IF(LEFT(Z36,1)=" ", MID(Z36,2,20),Z36)
I have tried doing this cleverly in VBA and failed and then ended up trying to enter this code in the cells within the VBA code and do it that way but I'm having difficulty in doing this also.
View 8 Replies
View Related
Apr 23, 2008
I'm trying to enclose a variable declared as string with a numeric value within parentheses. here's the code I have...
Dim strQuery As String, strPortIP As String
strQuery = Application.InputBox(Prompt:="Please enter the port or IP you want:", Title:="Query Input", Type:=2)
strPortIP = Application.InputBox(Prompt:="Is this a port or IP?",Title:= "Query Type", Type:=2)
If strPortIP = "Port" Or "port" Then strQuery = "(" & strQuery & ")"
I'm getting run-time error '13': type mismatch on the "If..." statement. I'm trying to set the variable strQuery to "(80)", for example, to do a Find within my data. Without the "()" I get ALL occurrences of "80" and that's not what I need...
View 7 Replies
View Related