Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DoriCAFL
 
Posts: n/a
Default How do you move cells with a formula

I have a sheet with a column of numbers and there are groups that are added
to get a sum of that group. I want to transfer just the cell with the total
to the next column over. The "total" cells are the only cells that contain
formulas in the column - I can get it to find them but not move them. I have
tried IF/THEN functions but can't get figure out the wording for "if this
cell is a formula, copy the value into the next column".
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David McRitchie
 
Posts: n/a
Default How do you move cells with a formula

Hi Don,

You could use a user defined function like HasFormula
=IF(personal.xls!HasFormula(A2), A2,"")

see Show FORMULA or FORMAT of another cell
http://www.mvps.org/dmcritchie/excel...htm#HasFormula
instructions on my page getstarted.htm see yellow box at top of page


A function cannot change the formatting, or move cells around, it can
only return a value.

Have you take a look at Data, Subtotals..
which allows you to make totals more visible
http://www.datapigtechnologies.com/ExcelMain.htm
look for . Basics of Using Subtotals (it's a video)

http://www.mvps.org/dmcritchie/excel....htm#subtotals




---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"DoriCAFL" wrote in message ...
I have a sheet with a column of numbers and there are groups that are added
to get a sum of that group. I want to transfer just the cell with the total
to the next column over. The "total" cells are the only cells that contain
formulas in the column - I can get it to find them but not move them. I have
tried IF/THEN functions but can't get figure out the wording for "if this
cell is a formula, copy the value into the next column".



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
What formula is used for subtracting a range of different cells f. tim Excel Worksheet Functions 3 April 21st 23 10:07 PM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Returning a cell's formula in a different cell T.R. Young Excel Worksheet Functions 2 February 16th 06 06:41 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM


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