#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default formatting

i am trying to put a format in excel of
if box A2 is between 0-100 then *2 or if it's between 101-200 then *3

Can anyone help please
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default formatting

On Nov 17, 12:43*pm, Chris wrote:
i am trying to put a format in excel of
if box A2 is between 0-100 then *2 or if it's between 101-200 then *3

Can anyone help please


Chris, your query is not very clear but in case you mean conditional
formatting, then just select the range of cells you want to be
formatted, and go to FORMAT CONDITIONAL FORMATTING there you will
find a wizard :
cell value | is between | (here you put "0") | (here you put "100")|
then press format and format the cell as you please, when you are done
with the first condition, click on "Add" and do the same for the
condition where cell is between 101 and 200 with another pattern i
suppose.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default formatting

if you mean by format a formula that will be placed in B:B
then just put the following in B2
=IF((A2<200)*(A2100),A2*3,IF(A2<100,A2*2))
in case the value of your cell is < 0 or 200, you will need to alter
the "false" value of the if statement
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default formatting

try this

=IF(AND(A2=0,A2<=100),A2*2,IF(AND(A2100,A2<=200) ,A2*3,""))


On Nov 17, 3:43*pm, Chris wrote:
i am trying to put a format in excel of
if box A2 is between 0-100 then *2 or if it's between 101-200 then *3

Can anyone help please


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default formatting

I don't want to colour the cell or change the font i want to multiply the
figure by 2 if it is between 0 and 100

"Totti" wrote:

On Nov 17, 12:43 pm, Chris wrote:
i am trying to put a format in excel of
if box A2 is between 0-100 then *2 or if it's between 101-200 then *3

Can anyone help please


Chris, your query is not very clear but in case you mean conditional
formatting, then just select the range of cells you want to be
formatted, and go to FORMAT CONDITIONAL FORMATTING there you will
find a wizard :
cell value | is between | (here you put "0") | (here you put "100")|
then press format and format the cell as you please, when you are done
with the first condition, click on "Add" and do the same for the
condition where cell is between 101 and 200 with another pattern i
suppose.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 788
Default formatting

THANK YOU :-)

"muddan madhu" wrote:

try this

=IF(AND(A2=0,A2<=100),A2*2,IF(AND(A2100,A2<=200) ,A2*3,""))


On Nov 17, 3:43 pm, Chris wrote:
i am trying to put a format in excel of
if box A2 is between 0-100 then *2 or if it's between 101-200 then *3

Can anyone help please



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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


All times are GMT +1. The time now is 08:56 PM.

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

About Us

"It's about Microsoft Excel"