2 questions: 1) precision? 2) xl2bb

yky

Well-known Member
Joined
Jun 7, 2011
Messages
1,881
Office Version
  1. 2010
Platform
  1. Windows
At first, I was wondering if this is a precision question. After pasting the XL2BB data, I have another question about XL2BB. So, there are two questions.
First, XL2bb, this should be a simple question. Why is the format of column E and F TEXT? No matter what the cell format is in the sheet (custom, general, number or accounting), after pasting to this board, it's always TEXT.
Second, this is my real question. Why is the cell E118 red? I set the conditional formatting so that if E118 is not equal to E117 minus C118 plus D118, then the cell should turn red. I have two checking mechanisms, column F and G. Column F just repeats the above calculation and column G checks if column E is equal to column F. You can see in the table that E118 is equal to F118 and G118 confirms it. Yet, conditional formatting doesn't think so. What did I do wrong?

Column C is expense, D income, E balance. They are entered manually and all are integers.

balance.xlsx
CDEFG
115-26,902.00706,368.00706,368.00TRUE
116-42,384.00748,752.00748,752.00TRUE
117-11,014.00759,766.00759,766.00TRUE
11820,000.00739,766.00739,766.00TRUE
tab2
Cell Formulas
RangeFormula
F115:F118F115=$E114-$C115+$D115
G115:G118G115=E115=F115
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F3:F65536Expression=$E3<>$F3textYES
E:EExpression=INT($E2)<>INT($E1)-INT($C2)+INT($D2)textYES
 
I test in my workbook, choose format Cells/Number/Text:
Book1
ABCDEFG
15088101
1610-1110
1721-1-121
181210.512
19-1011-10
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G15:G17Expression="c15=d15"textNO

Below is my CF process:
Capture.JPG


Try to choose Format Cells/ Fill to colour back ground
 
I test in my workbook, choose format Cells/Number/Text:

Try to choose Format Cells/ Fill to colour back ground
My problem is no matter what the cell format is, XL2BB always says it's TEXT. I wonder why XL2BB doesn't says the real format as shown in the sheet. For example, if the format is accounting in the sheet, why doesn't XL2BB says the format is accounting? Why does XL2BB say the format is TEXT?
 
Because you are using Conditioning formatting for column E and F. XL2BB told me those column E and F are in "text" format. Try to remove CF, or change it to "Fill" with colour.
 
Why E118 red?
I assum that
=INT($E2)<>INT($E1)-INT($C2)+INT($D2)
being created in wrong position (stay in E1)

Try to select cell E2, use this formula and apply to whole range.
 
Because you are using Conditioning formatting for column E and F. XL2BB told me those column E and F are in "text" format. Try to remove CF, or change it to "Fill" with colour.
OK. Thanks. Now, I got it. However, when I went to Conditional Formatting, it seemed to say the format is general, not TEXT.


format.jpg
 
Because you are using Conditioning formatting for column E and F. XL2BB told me those column E and F are in "text" format. Try to remove CF, or change it to "Fill" with colour.
I tried it again. In Conditional Formatting, I set the format to number. After copying and pasting to this board, I found that it still says the format is TEXT. I then set the format to accounting. Still, it shows up as TEXT. This might be a problem of XL2BB, I guess.
 
Why E118 red?
I assum that
=INT($E2)<>INT($E1)-INT($C2)+INT($D2)
being created in wrong position (stay in E1)

Try to select cell E2, use this formula and apply to whole range.
Thanks. That solves the problem.
 

Forum statistics

Threads
1,224,847
Messages
6,181,323
Members
453,032
Latest member
Pauh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top