Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default how do i carry a formula

i would like to set up an "if" formula so that it will only recognize another
cell if it contains a formula.

example: column A has a list of numbers and then the sum of those numbers
using =sum or other similar formula. i would like to setup a formula in
column B that takes the number in the sumed cell and carries it to the right
while leaving the remaining cells in column B blank.

could someone please help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
SteveG
 
Posts: n/a
Default how do i carry a formula


Not sure if there is more info that would no enable you to do this but
if your total is in A10, in the cell in column B that you want to carry
the sum to

=A10

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=521230

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default how do i carry a formula

Try just typing the same formula that is in your "=SUM cell" in column a in
whatever cell in column B you wish. If that don't give you what you're
after, then please post back with specific cell information, your "=SUM"
formula and which cell in column B you wish that result to appear.

Vaya con Dios,
Chuck, CABGx3


"Xhawk57" wrote in message
...
i would like to set up an "if" formula so that it will only recognize

another
cell if it contains a formula.

example: column A has a list of numbers and then the sum of those numbers
using =sum or other similar formula. i would like to setup a formula in
column B that takes the number in the sumed cell and carries it to the

right
while leaving the remaining cells in column B blank.

could someone please help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default how do i carry a formula

It is a very large list of names (in column A) and corresponding dollar
amounts (in column B) the names are grouped together and after each group (
they are rouped by first letter) is a sum in column B (list all A's then sum
of all A's, list all B's then sum of all B's,...ect) in column C I want to
pull out just the sums of each group.

Does this help clarify my problem? Please help.

"CLR" wrote:

Try just typing the same formula that is in your "=SUM cell" in column a in
whatever cell in column B you wish. If that don't give you what you're
after, then please post back with specific cell information, your "=SUM"
formula and which cell in column B you wish that result to appear.

Vaya con Dios,
Chuck, CABGx3


"Xhawk57" wrote in message
...
i would like to set up an "if" formula so that it will only recognize

another
cell if it contains a formula.

example: column A has a list of numbers and then the sum of those numbers
using =sum or other similar formula. i would like to setup a formula in
column B that takes the number in the sumed cell and carries it to the

right
while leaving the remaining cells in column B blank.

could someone please help.




  #5   Report Post  
Posted to microsoft.public.excel.misc
Jim May
 
Posts: n/a
Default how do i carry a formula

Paste this code into a standard module:

Function HasFormula(cell)
HasFormula = cell.HasFormula
End Function

Then with your numbers in A1:A5
and your =sum(A1:A5) in A6
Enter into B1 and Copy Down to B6

=if(HasFormula(A1),A1,"")

That you get you what you want..





"SteveG" wrote in
message ...

Not sure if there is more info that would no enable you to do this but
if your total is in A10, in the cell in column B that you want to carry
the sum to

=A10

Does that help?

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=521230





  #6   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default how do i carry a formula

Do you have anything in column A just to the left of where you have a SUM in
column B?....if the cell is empty, then in column C of the same row,enter
this formula and copy it down column C as far as you have data in column
B....

Assume cell B20 is the first SUM...(if not, change the 20 as appropriate)
=IF(A20="",B20,"")

If you have some word, like "TOTAL" in column A opposite the SUM in column
B, then use this formula, changing the word TOTAL to whatever exists.....
=IF(A20="TOTAL",B20,"") ......this would go in C20 is B20 is a SUM.....

hth
Vaya con Dios,
Chuck, CABGx3





"Xhawk57" wrote in message
...
It is a very large list of names (in column A) and corresponding dollar
amounts (in column B) the names are grouped together and after each group

(
they are rouped by first letter) is a sum in column B (list all A's then

sum
of all A's, list all B's then sum of all B's,...ect) in column C I want to
pull out just the sums of each group.

Does this help clarify my problem? Please help.

"CLR" wrote:

Try just typing the same formula that is in your "=SUM cell" in column a

in
whatever cell in column B you wish. If that don't give you what you're
after, then please post back with specific cell information, your "=SUM"
formula and which cell in column B you wish that result to appear.

Vaya con Dios,
Chuck, CABGx3


"Xhawk57" wrote in message
...
i would like to set up an "if" formula so that it will only recognize

another
cell if it contains a formula.

example: column A has a list of numbers and then the sum of those

numbers
using =sum or other similar formula. i would like to setup a formula

in
column B that takes the number in the sumed cell and carries it to the

right
while leaving the remaining cells in column B blank.

could someone please help.






  #7   Report Post  
Posted to microsoft.public.excel.misc
Xhawk57
 
Posts: n/a
Default how do i carry a formula

that is a great idea, thanks. I was being closed minded about identifying
the cell via the formula.

I made one change to streamline it and keep it from picking up unwanted cells
=if(isblank(A20),B20,"")
thanks again.
"CLR" wrote:

Do you have anything in column A just to the left of where you have a SUM in
column B?....if the cell is empty, then in column C of the same row,enter
this formula and copy it down column C as far as you have data in column
B....

Assume cell B20 is the first SUM...(if not, change the 20 as appropriate)
=IF(A20="",B20,"")

If you have some word, like "TOTAL" in column A opposite the SUM in column
B, then use this formula, changing the word TOTAL to whatever exists.....
=IF(A20="TOTAL",B20,"") ......this would go in C20 is B20 is a SUM.....

hth
Vaya con Dios,
Chuck, CABGx3





"Xhawk57" wrote in message
...
It is a very large list of names (in column A) and corresponding dollar
amounts (in column B) the names are grouped together and after each group

(
they are rouped by first letter) is a sum in column B (list all A's then

sum
of all A's, list all B's then sum of all B's,...ect) in column C I want to
pull out just the sums of each group.

Does this help clarify my problem? Please help.

"CLR" wrote:

Try just typing the same formula that is in your "=SUM cell" in column a

in
whatever cell in column B you wish. If that don't give you what you're
after, then please post back with specific cell information, your "=SUM"
formula and which cell in column B you wish that result to appear.

Vaya con Dios,
Chuck, CABGx3


"Xhawk57" wrote in message
...
i would like to set up an "if" formula so that it will only recognize
another
cell if it contains a formula.

example: column A has a list of numbers and then the sum of those

numbers
using =sum or other similar formula. i would like to setup a formula

in
column B that takes the number in the sumed cell and carries it to the
right
while leaving the remaining cells in column B blank.

could someone please help.






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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
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 02:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"