Formating Cells Cells To Show $- Instead Of $0
Apr 22, 2006I have trouble formatting certain cells to show $- instead of $0, and there is cell showing ($0.00) instead of $0.00. See attached file.
View 2 RepliesI have trouble formatting certain cells to show $- instead of $0, and there is cell showing ($0.00) instead of $0.00. See attached file.
View 2 Repliescan i format the cells that i have made grey for this photo to automatic put : between numbers i put in like the time.example if i would put in a cell 1200 than it would be like 12:00 is that possible i have been through all the time formats in the format cells options but i always get this result ###.
the other ? is can i take the S away when i have formated cells to show kilograms so it would be like 550 kg instead of 550 kgs ?
I have h26 and h27 both can generate a number
if h26 is a number i need f26 to formate in dollors
if h27 is a number i need f26 to be general formate
in the cells h26 and h27 they will already be in that format how can i get them to go to f26 like that
******** ******************** ************************************************************************>Microsoft Excel - PROTOTYPE2207.xls___Running: xl2002 XP : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutF26=
EFGH26s1*$1.0027***1Weekly Stats*
[HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name box
PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
I have no experience with VBA programming. I am currently trying to create a function that sums the cells that have a specified background color applied by conditional formatting.(ie red)
I have tried working off an example that was displayed below
http://www.cpearson.com/excel/CFColors.htm
is there a way to merge cells when conditional formating them
example if a1- team then it will be 2 cells
if a1 = player then it will be 1 cell?
i have a list of customers with various information, i would like to rank these customers 1 to 5 and change the colour of the cells dependant on there rank.
Conditional formatting allows me too do this but is limited to 3 formats.
I have Columns A-K filled with data and want the condition to be set on column B if Column B meets a requirement it will then colour that Row (A-K)
So for example Row 3:
B3 = the requirement to change colour to red so cells A3:K3 will turn red
B4 = the requirement to change colour to gree so cells A4:K4 will turn red
and this must go down to row 1000 or whatever it may be.
I have a single column of data that is, perhaps, 100 rows long.
I have ticks, crosses and 'N/A' in various cells within this column. There are no cells that are blank.
I want to count the number of ticks within the column and want to be able to say:
If the number of ticks is = 100% then it's green.
If the number is >75% and <100% then it's amber.
If the number <75% then it's red.
I also want to exclude the N/A cells from the % calculation.
I have used VBA to apply conditional formating to a range of cells. i.e if cell B14 <>"" then row 14 is pale blue untill cell V14 is populated with the time then it removes the formating. One criteria is that if Q14(21/08/06 20:00)>NOW(AA2) and < NOW+1(AA3) then Row turns green(i.e. is due in the next 24 hrs).
Problem is that this formula is applied after a field is updated. When 21/08/06 20:00 comes and goes the row remains green unless I update one of the fields along that row. What would I have to do to make the formating change back automatically when the critera is no longer being met. Here is my codethere are 2 other if statements similar to this with in this code but this is the only part that shouldn't require any user input for the formatting to occour)
Private Sub Worksheet_Change(ByVal Target As Range)
Const WS_RANGE As String = "B13:AP162"
On Error Goto ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range(WS_RANGE)) Is Nothing Then
With Target
If Me.Cells(.Row, "AP").Value = "YES" And _
Me.Cells(.Row, "Y").Value <> "" Then
Me.Cells(.Row, "B").Resize(, 30).Interior.ColorIndex = 43 'mad green
Else
End If
End With..................
I have been using Conditional Formating to change the backgound color of the cells, this works fine. However it cannot be used with a userform text box. There I believe that the use of If Then Else statements will sort out the problem.
I have developed three conditions:
1) D10 less than E5 result True
2) D10 less than F5 result True
3) D10>E5 result False
using that result background color to turn green
Next condition
1) D10 less than E5 result False
2) D10 less than F5 result True
3) D10>E5 result True
using that result background color to turn yellow
Next condition
1) D10 less than E5 result False
2) D10 less than F5 result False
3) D10>E5 result False
using that result background color to turn red
What I cant seem to do is combine the three instances above so that the cell back color changes.
This is so easily done using the built in conditional format function but I'm have a difficulty understanding how to make this work.
I have created a drop down box that allows me to choose multiple different Text Options. Example: Cell B4 has dropdown that lets me choose the Text Options, "House", "Car" and "Truck".
Next, I have 5 or so other columns underneath with their own text. What I want to do is have different cells highlight themselves depending on what is in Cell B4.
Example, if "House" is selected in B4, I want cells B7 and B9 to highlight. If "Car" is selected, I want cells B7, B8, and B10 to highlight. If "Truck" is highlighted, I want cells B9-B11 to highlight. Is this possible to do? I've tried using If/Then statements, but those don't seem to work for this type of thing.
I'm trying to get it so that a cell becomes automatically highlighted if 2 other cells conditions are met. For example, I want cell A5 to become highlighted if BOTH cell B1=Loan 1 AND cell B5=Yes. Here is a mockup of what I'm talking about incase it makes it easier to understand. I'm using Excel 2007.
View 3 Replies View RelatedI have data on 400 rows. Each row has a maximum of 10 cells with data, but many have empty cells with no data. I would like to sort each row to show values of cells in sequence and eliminate empty cells. I can use the sort row function but its a long process for 400 individual rows. Is there an easier way?
View 1 Replies View RelatedI am referring to the post made by NBVC at http://www.excelforum.com/excel-gene...xcel-help.html, Try: =IF($A1="",INDIRECT("A"&ROW()-ROW($A$2)+COLUMN(B1)),"") in B2, copied across and down
I have a similar case but there are no empty rows between lists, what would be the formula to get the same results? (The transposed address should appear next to each first line of each block).
Earlier, I posted at http://www.excelforum.com/excel-gene...-one-cell.html and I got brilliant answers, I also would like to get benefit of the above mentioned formula but in cases when there are no empty rows between lists.
The title is near the best i can decribe the problem so ill put up a file for you to take a look at.
View 7 Replies View RelatedI am looking for a formula to fill C2 with either the value of A2 or B2 based on which ever is populated.
Col a & b are lists
a
b
c
1
Monthly
Quarterly
Period
2
Jan
Jan
3
Jan-Mar
Jan-Mar
I have a list of names, some have first name and surname (in the same cell), and some just have first name.
Is there anything I can do to only show the cells that contain a first name and surname?
There are two cells on different sheets in which the user can enter data into either. Both cells should then show the same value. For example, if the user enteres 15 in cell SheetA!A1, the value in SheetB!A1 should equal 15. If, at a later time, the user enters 12 in SheetB!A1, SheetA!A1 should also show 12. Data can be entered in either cell so that eliminates the use of a formula. How do I do that (can I do that?) in VBA?
View 3 Replies View RelatedI am looking for a formula that will show the higher value of two cells
i.e.
A1 = 10
A2 = 12
A3 = formula to say look at A1 and A2 and show the higher number
I have two options in a Cell as Applicable and Not Applicable. This is in a Drop-down menu and what I want is that when I choose Applicable, it should bring up additional 5 or 6 cells for me to complete. And if I choose Not Applicable, the additional cells should not show up. The default would be Not Applicable.
I am trying to show a blank cell if the others don't have any figures in there and am using the following formula.
However, in my cell it is showing "#value" instead. How do I get my cell to look "blank" when there are no values in the other cells? Here is my formula
=IF(SUM(A17*D17)>0,SUM(A17*D17),"")
Please see attached workbook. I know for a fact this isn't the most effective way to do this, but I just needed something really quick for a small worksheet that my department at work is using. A1:C7 are supposed to represent 3 different types of "methods" In the case of my worksheet, I just typed random stuff.
Basically, I have data validation in B10. Depending on which one I select (1 corresponds with A1:A7, 2 with B1:B7, and 3 with C1:C7), it is supposed to populate that data. I've done this with nested if statements in D10:D16. The issue is that for options 2 and 3, it shows 0's where the blanks should be.
I have a list of customers and each customer has a commission value tied to it. I have a form and in it I have a cell that has a list of customers that someone can choose from a drop down list. If a certain customer is chosen I need their commission value to show up in another cell. example: How do I create a formula to show if Company A is chosen in cell G4 then the commission is 5% in cell G38 , If Company B is chosen then the commission is 8%.
View 9 Replies View RelatedI have a workbook that I want to show or hide a selection of cells depending on another cell when printing it.
Example
If cell x = A2A then display a certain cell set if anything else then exclude cell set from printing.
Is there still a way to show all cells in a worksheet that contain data..
Seems like each cell with data was a certain color...and a worksheet with only 1 or two characters per cell was created ...
Is it possible to show gridlines in some cells and hide gridlines in others on the same worksheet? Is it also possible to isolate a row or column and change the size of selected cells without changing the size of the cells in other rows and columns?
View 5 Replies View RelatedFirstly, I am using Excel 2007.
The purpose of my sheet is a timetable.
What I have is a sheet from B2 to N32. What I would like to do is to be able to hover over a cell to show a date.
I have columns that represent the months, column B is January, coulmn C is February, column D is March, etc, etc. Right up to December in column M.
Row 2 represents the 1st of the month, row 3 is the 2nd, etc, etc, down to the 31st of a month.
What I would like to do is when I hover over, for example, cell B2, I would like a box to pop up to say something like, ' What would like to do on the 1st of January??', then maybe hover over H7 and then a box appears saying, ' What would like to do on the 6th of July?
I would like this to happen on all cells on the sheet.
If i have =SUM(C8:J8) in K8 and the sum of the values is 0
I only want to show 0 so long as there is a value typed in at least 1 of those cells (the value typed in those cells is often 0 fyi).
If all the cells between C8:J8 are blank then i want K8 to show nothing.
Is there a way to count cells that show up with the "Not Available Error", or even better, is there a formula that will count all cells in range range, except those with the "Not Available Error".
View 5 Replies View Related=IF((C13>E13)*AND(B15>D15),0,1)*OR((E13>C13)*AND(D15>B15),0,1)
This function seems to work well, however there is one thing I want to add to it somehow, and I can't seem to make it work. I want the cell to show a zero if there is no information in cells C13 and/or E13.
code to write down to make a checkbox hide the text in a few cells..
What I want is..
When I tick the check box I want it to show me the text in the cells (C11:D11 to be specific) and then when I untick it I want it to hide the text so all you can see is the background colour.
Here is the attatchment of what I have so far: