Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-20-2013, 06:44 PM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Question Need formula help with putting total from 2 cells in 2nd cell

Is it possible to have a total of two cells in the 2nd?.


Example F2 has a number 1-100. Need to have G2 total with a $ amount that goes from1-$1000.00.
I bought 7 hay in F2 for $13.50. Total in G2 is7*$13.50=$94.50

Last edited by jterr; 02-21-2013 at 01:23 PM. Reason: To ask for some help
Reply With Quote
  #2  
Old 02-22-2013, 02:34 AM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

In G2, insert the formula:
=F2*13.5
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 02-22-2013, 06:38 AM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
In G2, insert the formula:
=F2*13.5
Sorry
I wrote the question wrong. The $13.50 figure should be any dollar amount.
Thanks
Reply With Quote
  #4  
Old 02-22-2013, 01:41 PM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Default

Anybody????
Reply With Quote
  #5  
Old 02-22-2013, 07:47 PM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by jterr View Post
I wrote the question wrong. The $13.50 figure should be any dollar amount.
So, in G2, insert the formula:
=F2*#
where # is your dollar amount.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 02-22-2013, 08:22 PM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
So, in G2, insert the formula:
=F2*#
where # is your dollar amount.
I tried; said there is a error????
Reply With Quote
  #7  
Old 02-22-2013, 09:19 PM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

What did you use in place of the #?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 02-23-2013, 06:49 AM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
What did you use in place of the #?
Typed just as you posted,see pic for error

Thanks
Attached Images
File Type: jpg screenshot1574.jpg (120.5 KB, 12 views)
Reply With Quote
  #9  
Old 02-23-2013, 03:08 PM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Please re-read post #5 and pay attention to what I wrote.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #10  
Old 02-23-2013, 05:25 PM
jterr jterr is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Novice
formula help with total in same cell
 
Join Date: Feb 2013
Posts: 6
jterr is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Please re-read post #5 and pay attention to what I wrote.
Did what you said ,but now I think you want me to put a set dollar amount where the # is.
Like I posted earlier that figure can be any dollar amount $1.00 to $100000.00; that is the problem.

Thanks Again
Reply With Quote
  #11  
Old 02-23-2013, 11:53 PM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

So how is Excel supposed to know what amount to use if your don't input it somewhere?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 02-25-2013, 04:57 AM
niton niton is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Competent Performer
 
Join Date: Jul 2012
Posts: 102
niton is on a distinguished road
Default

Quote:
Originally Posted by jterr View Post
Is it possible to have a total of two cells in the 2nd?.
Example F2 has a number 1-100. Need to have G2 total with a $ amount that goes from1-$1000.00.
I bought 7 hay in F2 for $13.50. Total in G2 is7*$13.50=$94.50
Yes. With the Worksheet.Change Event http://msdn.microsoft.com/en-us/libr.../ff839775.aspx
Reply With Quote
  #13  
Old 02-25-2013, 05:36 AM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by niton View Post
Yes. With the Worksheet.Change Event http://msdn.microsoft.com/en-us/libr.../ff839775.aspx
Just how is a Worksheet_Change Event supposed to input the required number, which the OP has yet to indicate either where it is to be found or how it's variable value is to be determined, into the formula? Until both those issues are resolved, no solution is possible.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #14  
Old 02-25-2013, 05:15 PM
niton niton is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 64bit
Competent Performer
 
Join Date: Jul 2012
Posts: 102
niton is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Just how is a Worksheet_Change Event supposed to input the required number, which the OP has yet to indicate either where it is to be found or how it's variable value is to be determined, into the formula? Until both those issues are resolved, no solution is possible.
The hope is that although the OP has not learnt enough to describe this impractical assignment clearly, the intent is to enter data in the F column followed by entering data in the G column. In the Worksheet.Change code the product of F and G will replace the value in G.
Reply With Quote
  #15  
Old 02-25-2013, 05:43 PM
macropod's Avatar
macropod macropod is offline formula help with total in same cell Windows 7 64bit formula help with total in same cell Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by niton View Post
The hope is that although the OP has not learnt enough to describe this impractical assignment clearly, the intent is to enter data in the F column followed by entering data in the G column. In the Worksheet.Change code the product of F and G will replace the value in G.
Even so, I'd be surprised if the desired result can't be achieved without resorting to Worksheet_Change macros (eg via a series of IF tests or a LOOKUP formula that references a table for the variable values).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Change formula cell range based on cell value Scoth Excel 4 10-25-2012 07:51 AM
formula help with total in same cell Keep cell in formula constant jprt68 Excel 1 06-26-2012 08:31 AM
formula help with total in same cell need to check whether cell contains formula etodem Excel 2 10-23-2010 07:33 PM
formula help with total in same cell Formula in a Cell with condition? Learner7 Excel 1 07-19-2010 10:10 AM
formula help with total in same cell Protect formula in cell? markg2 Excel 4 05-24-2010 11:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft