Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 287
Default making # + or - based on another cells contents

how do I make one cell postive or negative based on another cells contents.
For Example:

123.00 c
565.00 d
613.00 d

When I upload all numbers come up postive like shown above. How do I get it
so the 123.00/"c" row come up negative. I want all "c"/credits to come up as
a negative number.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default making # + or - based on another cells contents

You have an answer elsewhere - please do not multi-post.

Pete

On Oct 29, 6:15 pm, adam wrote:
how do I make one cell postive or negative based on another cells contents.
For Example:

123.00 c
565.00 d
613.00 d

When I upload all numbers come up postive like shown above. How do I get it
so the 123.00/"c" row come up negative. I want all "c"/credits to come up as
a negative number.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default making # + or - based on another cells contents

Hi,

Lets say your numbers are in column A and the c&d,s are in column B so in
column C enter this formula:

+IF(B1="c",-A1,IF(B1="d",A1,"No Credit or Debit"))
if in column B would be c the numbet shows as negative and if it would be d
it shows as positive and if it would be no c and no d it shows Nocredit or
Debit.

Thanks,
--
Farhad Hodjat


"adam" wrote:

how do I make one cell postive or negative based on another cells contents.
For Example:

123.00 c
565.00 d
613.00 d

When I upload all numbers come up postive like shown above. How do I get it
so the 123.00/"c" row come up negative. I want all "c"/credits to come up as
a negative number.

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
Finding a value based on contents of two cells xjetjockey Excel Worksheet Functions 4 January 2nd 07 10:21 PM
How do I add a cell based on another cells contents? Debbie Excel Discussion (Misc queries) 1 December 22nd 06 06:33 PM
Counting based on other cells contents... George Excel Discussion (Misc queries) 3 November 8th 05 02:33 PM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
Modify Row & Cell Contents based upon Cells Values bpat1434 Excel Worksheet Functions 1 November 7th 04 03:12 AM


All times are GMT +1. The time now is 04:05 AM.

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"