Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JV JV is offline
external usenet poster
 
Posts: 22
Default formula using several colums

I need a formula that would subtract 200,000 from a cell and if the result is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists it
subtracts an amount from column f

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default formula using several colums

One way:

a) =MAX(A1-200000,0)


b) Not sure what you mean.

In article ,
jv wrote:

I need a formula that would subtract 200,000 from a cell and if the result is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists it
subtracts an amount from column f

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JV JV is offline
external usenet poster
 
Posts: 22
Default formula using several colums

The formula would look in colums a b c d and if SX is present them the
formula would subtract $100,000 is result isd a minus it would put zero in
the cell, If SX is not present the formula would subtract $50,000 and if the
result is a minus it would put zero in the cell

A B C D E
F
HX WR VX SX $100,000 SX HX WR VX $150,000 HX VX SX
$75,000 WR VX HX SX $175,000
HX WR VX $200,000
HX SX VX HX WR VX
HX WX 11




"JE McGimpsey" wrote:

One way:

a) =MAX(A1-200000,0)


b) Not sure what you mean.

In article ,
jv wrote:

I need a formula that would subtract 200,000 from a cell and if the result is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists it
subtracts an amount from column f

Thanks in advance


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default formula using several colums

I can't tell with your linewrap what you're subtracting 50,000 or
100,000 from.

Assuming it's the values in A:D (e.g., SUM(A1:D1) for row 1), one way:


=MAX(SUM(A1:D1)-50000*(1+(COUNTIF(A1:D1,"*SX*")0)),0)

In article ,
jv wrote:

The formula would look in colums a b c d and if SX is present them the
formula would subtract $100,000 is result isd a minus it would put zero in
the cell, If SX is not present the formula would subtract $50,000 and if the
result is a minus it would put zero in the cell

A B C D E
F
HX WR VX SX $100,000 SX HX WR VX $150,000 HX VX SX
$75,000 WR VX HX SX $175,000
HX WR VX $200,000
HX SX VX HX WR VX
HX WX 11




"JE McGimpsey" wrote:

One way:

a) =MAX(A1-200000,0)


b) Not sure what you mean.

In article ,
jv wrote:

I need a formula that would subtract 200,000 from a cell and if the
result is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists
it
subtracts an amount from column f

Thanks in advance


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JV JV is offline
external usenet poster
 
Posts: 22
Default formula using several colums

In columns a1:d1the formula would be looking for a code SX If present the
formula would subtract $100,000 from colume E1 and if the result is a
negative it woud put a zero. If SX is NOT present in A1:D1 then the formula
would subtract $50,000 from E1 and if the result is a negative put a zero in
the cell

"JE McGimpsey" wrote:

I can't tell with your linewrap what you're subtracting 50,000 or
100,000 from.

Assuming it's the values in A:D (e.g., SUM(A1:D1) for row 1), one way:


=MAX(SUM(A1:D1)-50000*(1+(COUNTIF(A1:D1,"*SX*")0)),0)

In article ,
jv wrote:

The formula would look in colums a b c d and if SX is present them the
formula would subtract $100,000 is result isd a minus it would put zero in
the cell, If SX is not present the formula would subtract $50,000 and if the
result is a minus it would put zero in the cell

A B C D E
F
HX WR VX SX $100,000 SX HX WR VX $150,000 HX VX SX
$75,000 WR VX HX SX $175,000
HX WR VX $200,000
HX SX VX HX WR VX
HX WX 11




"JE McGimpsey" wrote:

One way:

a) =MAX(A1-200000,0)


b) Not sure what you mean.

In article ,
jv wrote:

I need a formula that would subtract 200,000 from a cell and if the
result is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists
it
subtracts an amount from column f

Thanks in advance




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default formula using several colums

Then replace the SUM(A1:D1) in the formula I suggested with E1

In article ,
jv wrote:

In columns a1:d1the formula would be looking for a code SX If present the
formula would subtract $100,000 from colume E1 and if the result is a
negative it woud put a zero. If SX is NOT present in A1:D1 then the formula
would subtract $50,000 from E1 and if the result is a negative put a zero in
the cell

"JE McGimpsey" wrote:

I can't tell with your linewrap what you're subtracting 50,000 or
100,000 from.

Assuming it's the values in A:D (e.g., SUM(A1:D1) for row 1), one way:


=MAX(SUM(A1:D1)-50000*(1+(COUNTIF(A1:D1,"*SX*")0)),0)

In article ,
jv wrote:

The formula would look in colums a b c d and if SX is present them the
formula would subtract $100,000 is result isd a minus it would put zero
in
the cell, If SX is not present the formula would subtract $50,000 and if
the
result is a minus it would put zero in the cell

A B C D
E
F
HX WR VX SX $100,000 SX HX WR VX $150,000 HX VX SX
$75,000 WR VX HX SX $175,000
HX WR VX $200,000
HX SX VX HX WR VX
HX WX 11

  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default formula using several colums

"jv" wrote:
I need a formula that would subtract 200,000 from a cell and if the result is
a minus, zero would be put in the cell.


One way ..

Try in say, B2: =MAX(A2-200000,0)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default formula using several colums

Homework??

=MAX(G11-200000,0)
for the second one explore using MATCH or LOOKUP

--
Don Guillett
SalesAid Software

"jv" wrote in message
...
I need a formula that would subtract 200,000 from a cell and if the result
is
a minus, zero would be put in the cell.

I also need a formula that check coulme a, b, c, d and if a could exists
it
subtracts an amount from column f

Thanks in advance


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
vlookup colums with reference to a formula from another sheet AK Excel Worksheet Functions 3 June 29th 06 02:28 AM
Counting different colums gadget New Users to Excel 1 November 8th 05 02:06 PM
Colums Retsel Charts and Charting in Excel 1 September 1st 05 11:42 AM
colums in xcel **- kingdom -** Excel Discussion (Misc queries) 2 May 26th 05 01:57 PM
Sum YTD Colums Mestrella31 Excel Discussion (Misc queries) 1 January 11th 05 05:13 PM


All times are GMT +1. The time now is 04:16 PM.

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"