Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Calculating values to column D with formula based on values column A

Hi I have the following problem:

Lets assume that i have columns A(Depth) B(pH) C(Org.C%) an
D(Hydrogen)


A B C D

0 6 4,62
20 6 0,52

Everytime then cell value in column A = 0 the corresponding cell valu
in column D should be calculated by formula 5,6507*pH+0,743*org.
+38,082

And everytime then cell value in column A = 20 the corresponding cel
value in column D should be calculated by formula
3,087*pH+0,920*org.C +22,909

Does anyone have ready made code or had related problem and succesful
solutions

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 93
Default Calculating values to column D with formula based on values column A

spolk,
I changed , to decimal point.
Try this formula in D2 and fill down
=IF(A2,3.087*B2+0.92*C2+22.909,5.65*B2+0.743*C2+38 .082)
HTH
Cecil

"spolk " wrote in message
...
Hi I have the following problem:

Lets assume that i have columns A(Depth) B(pH) C(Org.C%) and
D(Hydrogen)


A B C D

0 6 4,62
20 6 0,52

Everytime then cell value in column A = 0 the corresponding cell value
in column D should be calculated by formula 5,6507*pH+0,743*org.C
+38,082

And everytime then cell value in column A = 20 the corresponding cell
value in column D should be calculated by formula
3,087*pH+0,920*org.C +22,909

Does anyone have ready made code or had related problem and succesfull
solutions?


---
Message posted from http://www.ExcelForum.com/



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
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Excel Discussion (Misc queries) 2 October 1st 09 06:18 PM
Formula: values in one column based on corresponding data Legal-Time-Guy New Users to Excel 1 July 6th 07 12:36 AM
Adding multiple values in one column based on multiple values of the same value (text) in another column [email protected] Excel Discussion (Misc queries) 1 May 16th 07 06:02 PM
Adding numerical values based on multiple values in another column Kazmaniac Excel Worksheet Functions 6 April 4th 07 08:53 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


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