Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre them
so that when A1 = B1 nothing hapens but when they are not equal i want to
make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How to solve this?

What type of "ordinary numbers"... are they integer (whole) numbers or could
are floating point numbers (those with a decimal point) possible as well?

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,049
Default How to solve this?

use conditional formatting

"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

they are whole numbers ( 3, 6, 40 ) no decimal numbers

thnx for reply
:)



"Rick Rothstein" wrote in message
...
What type of "ordinary numbers"... are they integer (whole) numbers or
could are floating point numbers (those with a decimal point) possible as
well?

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How to solve this?

Select B1 (or, if you actually want to have this functionality for any cell
in Column B, then select the entire column), click Format/Conditional
Formatting on Excel's menu bar, change the first drop down to "Formula Is"
and then copy/paste this into the blank field next to it...

=AND(B1=A1,B1<"")

Now, click the Format button, select the Patterns tab, pick a color from
color chart (I suggest pink rather than red as the text in the cell will be
more readable) and OK your way back to the work sheet. That's it... the cell
(or cells) should now react as you want them to.

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
they are whole numbers ( 3, 6, 40 ) no decimal numbers

thnx for reply
:)



"Rick Rothstein" wrote in message
...
What type of "ordinary numbers"... are they integer (whole) numbers or
could are floating point numbers (those with a decimal point) possible as
well?

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

i already try it but i can't find right rule..

for instance i have
A B
1 1
1 2
2 2
3 1
2 2

i want highlighted B2 and B5

thnx for reply
:)

"Patrick Molloy" wrote in message
...
use conditional formatting

"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)



  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

i've try it but it does not work .. formula contains an errorr.. and when i
try swich , with : it just colours whole row...


thnx for reply
:)



"Rick Rothstein" wrote in message
...
Select B1 (or, if you actually want to have this functionality for any
cell in Column B, then select the entire column), click Format/Conditional
Formatting on Excel's menu bar, change the first drop down to "Formula Is"
and then copy/paste this into the blank field next to it...

=AND(B1=A1,B1<"")

Now, click the Format button, select the Patterns tab, pick a color from
color chart (I suggest pink rather than red as the text in the cell will
be more readable) and OK your way back to the work sheet. That's it... the
cell (or cells) should now react as you want them to.

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
they are whole numbers ( 3, 6, 40 ) no decimal numbers

thnx for reply
:)



"Rick Rothstein" wrote in message
...
What type of "ordinary numbers"... are they integer (whole) numbers or
could are floating point numbers (those with a decimal point) possible
as well?

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)







  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How to solve this?

The formula worked fine in my tests before I posted it, so I am guessing
that your local settings do not use the comma as a statement separator (I'm
only guessing here because I don't have any experience with international,
that is, non-US, versions of Excel)... perhaps yours statement separator is
a semi-colon (;) which is a separator symbol I've seen used in some
postings? I know it wouldn't be the colon that you tried because that would
make Excel look at the "A1:B1" part of the formula that would result from
that substitution as if it were a range.

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
i've try it but it does not work .. formula contains an errorr.. and when
i try swich , with : it just colours whole row...


thnx for reply
:)



"Rick Rothstein" wrote in message
...
Select B1 (or, if you actually want to have this functionality for any
cell in Column B, then select the entire column), click
Format/Conditional Formatting on Excel's menu bar, change the first drop
down to "Formula Is" and then copy/paste this into the blank field next
to it...

=AND(B1=A1,B1<"")

Now, click the Format button, select the Patterns tab, pick a color from
color chart (I suggest pink rather than red as the text in the cell will
be more readable) and OK your way back to the work sheet. That's it...
the cell (or cells) should now react as you want them to.

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
they are whole numbers ( 3, 6, 40 ) no decimal numbers

thnx for reply
:)



"Rick Rothstein" wrote in message
...
What type of "ordinary numbers"... are they integer (whole) numbers or
could are floating point numbers (those with a decimal point) possible
as well?

--
Rick (MVP - Excel)


"Lewis" wrote in message
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal
i want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)








  #9   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to solve this?

Use conditional formating with "Formula Is": =A1<B1 instead of =$A$1<$B$1.

Passo, Chad/Africa :)

"Lewis" a écrit dans le message de groupe de discussion :
...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)

  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

thanx a lot .. this is working!!!
Great job

thnx for reply
:)


"Passoret" wrote in message
...
Use conditional formating with "Formula Is": =A1<B1 instead of
=$A$1<$B$1.

Passo, Chad/Africa :)

"Lewis" a écrit dans le message de groupe de discussion
: ...
Hi

I want to do the following..
i have A1 and B1 cells, and ordinary numbers inside, i want to compre
them so that when A1 = B1 nothing hapens but when they are not equal i
want to make B1 cell different colour (red)
i this possible to solve


thnx for reply
:)





  #11   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to solve this?

i dot know.. i have office 2007.. but when i use ; nothing happens..
but Passo find the solution and it's working..
thanx for the effort..




thnx for reply
:)


"Rick Rothstein" wrote in message
...
The formula worked fine in my tests before I posted it, so I am guessing
that your local settings do not use the comma as a statement separator
(I'm only guessing here because I don't have any experience with
international, that is, non-US, versions of Excel)... perhaps yours
statement separator is a semi-colon (;) which is a separator symbol I've
seen used in some postings? I know it wouldn't be the colon that you tried
because that would make Excel look at the "A1:B1" part of the formula that
would result from that substitution as if it were a range.

--
Rick (MVP - Excel)




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can you solve this???? mahendra2210 Excel Worksheet Functions 2 January 13th 10 12:47 AM
CAN YOU SOLVE THIS!!!!!!! jimthompson5802 Excel Worksheet Functions 0 January 12th 10 07:31 PM
Solve for X and Y Mark M Excel Worksheet Functions 9 September 28th 09 01:07 PM
how to solve this? jackoat[_3_] Excel Programming 0 March 29th 06 01:11 AM
y i cannot solve it ? cjjoo Excel Worksheet Functions 2 September 26th 05 11:37 AM


All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"