LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Retrieve part of a calculation

I would like to scan a range of cells and if there is a calculation in
the cell, such as =5000 - 200, I would like to replace the value of
the cell with what is immediately to the right of the equals sign. In
this example I would like the new value of the cell to be 5000. All of
the calculations will be in the format of =n1 - n2, I need to get the
value of n1 and place it in the cell. If there is not a calculation in
the cell, I want to leave it unchanged. Can someone give me the logic
to do this?

Thanks
 
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
Stopping Auto calculation in Part of a Worksheet Mhukki Excel Worksheet Functions 1 April 30th 08 05:04 PM
(Part 3) - Retrieve Numeric Label for Max Value by Criteria across Single Row Sam via OfficeKB.com Excel Worksheet Functions 2 February 21st 07 11:48 PM
(Part 2) - Retrieve Numeric Label for Max Value by Specific Day & Month Sam via OfficeKB.com Excel Worksheet Functions 4 February 21st 07 02:40 AM
i am working with excel sheet. in the calculation part i want if srinivas Excel Programming 1 April 27th 06 08:14 PM


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