Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Don
 
Posts: n/a
Default Formula ?? Please help

Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don

  #2   Report Post  
Govind
 
Posts: n/a
Default

Hi,

Try

=IF(P10<0,-N10,N10)

Regards
Govind.



Don wrote:
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don

  #3   Report Post  
Don
 
Posts: n/a
Default

Thank you for helping me, but that forumla did'nt work So i email you a copy
of my spreadsheet so you can see it and get a better idea what im trying to
do.

Thank you.
Don

"Govind" wrote:

Hi,

Try

=IF(P10<0,-N10,N10)

Regards
Govind.



Don wrote:
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don


  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

How about

=IF(P10="-",-N10,N10)

--
HTH

Bob Phillips

"Don" wrote in message
...
Thank you for helping me, but that forumla did'nt work So i email you a

copy
of my spreadsheet so you can see it and get a better idea what im trying

to
do.

Thank you.
Don

"Govind" wrote:

Hi,

Try

=IF(P10<0,-N10,N10)

Regards
Govind.



Don wrote:
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell

to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don




  #5   Report Post  
KL
 
Posts: n/a
Default

How about:

=N10*-1^(P10="-")

Regards,
KL


"Bob Phillips" wrote in message
...
How about

=IF(P10="-",-N10,N10)

--
HTH

Bob Phillips

"Don" wrote in message
...
Thank you for helping me, but that forumla did'nt work So i email you a

copy
of my spreadsheet so you can see it and get a better idea what im trying

to
do.

Thank you.
Don

"Govind" wrote:

Hi,

Try

=IF(P10<0,-N10,N10)

Regards
Govind.



Don wrote:
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell

to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don








  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

Why be obtuse when you can be clear?

--
HTH

Bob Phillips

"KL" wrote in message
...
How about:

=N10*-1^(P10="-")

Regards,
KL


"Bob Phillips" wrote in message
...
How about

=IF(P10="-",-N10,N10)

--
HTH

Bob Phillips

"Don" wrote in message
...
Thank you for helping me, but that forumla did'nt work So i email you a

copy
of my spreadsheet so you can see it and get a better idea what im

trying
to
do.

Thank you.
Don

"Govind" wrote:

Hi,

Try

=IF(P10<0,-N10,N10)

Regards
Govind.



Don wrote:
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the

cell
to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don








  #7   Report Post  
KL
 
Posts: n/a
Default

Hi Don,

What exactly do you have in the cell [P10]?

1) If it is text "-" then your, Bob and my formulae (see the responses
below) should work
2) If is is a negative value, e.g. -1 then Govind's formula should work
3) If it is a 0 formatted as "-", then none would work as the values of the
empty cell and the one that has such a "-" are the same: 0. You can check
that by changing the format of [P10] to General. One could, of course,
assume that for positive number you would enter 1, so the formula could be
=IF(P10,N10,-N10), but it seems a bit inefficient to me.

Regards,
KL


"Don" wrote in message
...
Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell to
read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don



  #8   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 8 Aug 2005 18:43:02 -0700, Don wrote:

Here is the formula: If(P10="-",-N10,N10) I'm trying to get the cell to read
negative.
Please help with this formula I appreciate any help in advance.


Thanks
Don


What, exactly, might be in P10?

If all that is in P10 is either "-" or not (i.e. P10 is blank), then:

=VALUE(P10&1)*N10


--ron
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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 05:07 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"