Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
paperguy
 
Posts: n/a
Default can I express X*4 in a formula?

I am trying to create a formula in a spreadsheet that will calculate the
numeric value of "X" in the following formula;
X*4+55-X*.2=55*.79

Is this possible?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=55*(0.79-1)/(4-0.2)

????

--
HTH

Bob Phillips

"paperguy" wrote in message
...
I am trying to create a formula in a spreadsheet that will calculate the
numeric value of "X" in the following formula;
X*4+55-X*.2=55*.79

Is this possible?



  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Well, you could start out by doing some basic algebra:

X: =(55 * 0.79 - 55)/(4 - 0.2) === 43.45

Generalizing:

X * A1 + B1 - X * C1 = D1 * E1

X: =(D1 * E1 - B1)/(A1 - C1)





In article ,
"paperguy" wrote:

I am trying to create a formula in a spreadsheet that will calculate the
numeric value of "X" in the following formula;
X*4+55-X*.2=55*.79

Is this possible?

  #4   Report Post  
paperguy
 
Posts: n/a
Default

Thank you for your prompt reply!
I do not have a problem doing the algebra, I am trying to write a formula to
do this in my worksheet since I will be using this formula over and over.

I am using my worksheet to set up a mass balance for multiple mixtures. The
correct formula for this is actually the one I wrote below. Where I have a
known output of "55gals. at .79% solution" and input "A" where only the 4%
solution is known and input "B" where only .2% solution is known.

This is why input "A" is expressed as Xgals*.4 and input "B" is expressed as
55-Xgals*.2%

I have set up my worksheet so that cell A1 will receive the numeric value of
X.
Cell B1 is 4 (the known 4% solution value in input "A")

Cell E1 will receive the numeric value of 55-X.
Cell F1 is .2 (the known .2% solution value in input "A")

Cell I1 is 55 (the known Gallons of the output)
Cell J1 is .79 (the known .79% solution value in input "A")




"JE McGimpsey" wrote:

Well, you could start out by doing some basic algebra:

X: =(55 * 0.79 - 55)/(4 - 0.2) === 43.45

Generalizing:

X * A1 + B1 - X * C1 = D1 * E1

X: =(D1 * E1 - B1)/(A1 - C1)





In article ,
"paperguy" wrote:

I am trying to create a formula in a spreadsheet that will calculate the
numeric value of "X" in the following formula;
X*4+55-X*.2=55*.79

Is this possible?


  #5   Report Post  
JE McGimpsey
 
Posts: n/a
Default

First, while I did the algebra, I didn't do the math - the 43.45 was the
result of each side of the equation. X obviously = -3.039473684...

Which is a weird result for a volume. I suppose what you really meant
was:

X * 4 + (55 - X) * 0.2 = 55 * 0.79

which then becomes


X = ((55 * 0.79) - (55 * 0.2)) / (4 - 0.2)

or

X = (55 * (0.79 - 0.2)) / (4 - 0.2)

or

X = 8.539473684

which is much more reasonable, being positive.

Using your cell references, then


A1: =(I1 * (J1 - F1)) / (B1 - F1)
E1: = I1 - A1




In article ,
"paperguy" wrote:

Thank you for your prompt reply!
I do not have a problem doing the algebra, I am trying to write a formula to
do this in my worksheet since I will be using this formula over and over.

I am using my worksheet to set up a mass balance for multiple mixtures. The
correct formula for this is actually the one I wrote below. Where I have a
known output of "55gals. at .79% solution" and input "A" where only the 4%
solution is known and input "B" where only .2% solution is known.

This is why input "A" is expressed as Xgals*.4 and input "B" is expressed as
55-Xgals*.2%

I have set up my worksheet so that cell A1 will receive the numeric value of
X.
Cell B1 is 4 (the known 4% solution value in input "A")

Cell E1 will receive the numeric value of 55-X.
Cell F1 is .2 (the known .2% solution value in input "A")

Cell I1 is 55 (the known Gallons of the output)
Cell J1 is .79 (the known .79% solution value in input "A")




"JE McGimpsey" wrote:

Well, you could start out by doing some basic algebra:

X: =(55 * 0.79 - 55)/(4 - 0.2) === 43.45

Generalizing:

X * A1 + B1 - X * C1 = D1 * E1

X: =(D1 * E1 - B1)/(A1 - C1)



  #6   Report Post  
paperguy
 
Posts: n/a
Default

Dear JE McGimpsey,
You are absolutely correct about the equation!

And I want to give you kudos for your assistance. Your input was very
valuable and greatly appreciated!

Sincerely,

Jon Hutto (Paperguy)

"JE McGimpsey" wrote:

First, while I did the algebra, I didn't do the math - the 43.45 was the
result of each side of the equation. X obviously = -3.039473684...

Which is a weird result for a volume. I suppose what you really meant
was:

X * 4 + (55 - X) * 0.2 = 55 * 0.79

which then becomes


X = ((55 * 0.79) - (55 * 0.2)) / (4 - 0.2)

or

X = (55 * (0.79 - 0.2)) / (4 - 0.2)

or

X = 8.539473684

which is much more reasonable, being positive.

Using your cell references, then


A1: =(I1 * (J1 - F1)) / (B1 - F1)
E1: = I1 - A1




In article ,
"paperguy" wrote:

Thank you for your prompt reply!
I do not have a problem doing the algebra, I am trying to write a formula to
do this in my worksheet since I will be using this formula over and over.

I am using my worksheet to set up a mass balance for multiple mixtures. The
correct formula for this is actually the one I wrote below. Where I have a
known output of "55gals. at .79% solution" and input "A" where only the 4%
solution is known and input "B" where only .2% solution is known.

This is why input "A" is expressed as Xgals*.4 and input "B" is expressed as
55-Xgals*.2%

I have set up my worksheet so that cell A1 will receive the numeric value of
X.
Cell B1 is 4 (the known 4% solution value in input "A")

Cell E1 will receive the numeric value of 55-X.
Cell F1 is .2 (the known .2% solution value in input "A")

Cell I1 is 55 (the known Gallons of the output)
Cell J1 is .79 (the known .79% solution value in input "A")




"JE McGimpsey" wrote:

Well, you could start out by doing some basic algebra:

X: =(55 * 0.79 - 55)/(4 - 0.2) === 43.45

Generalizing:

X * A1 + B1 - X * C1 = D1 * E1

X: =(D1 * E1 - B1)/(A1 - C1)


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
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
How to express $A:$A with formula Tetsuya Oguma Excel Worksheet Functions 2 December 16th 04 02:36 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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