Office & Productivity Software forum

General discussion

Office Excel 2007 #Value

by cmoore888 / August 16, 2006 2:03 AM PDT

I am trying to create a financial spreadsheet in Excel 2007, but I am having trouble with basic forumlae.

For one, I want to create a formula that will take a stock's value and divide it by the initial price.

Another, I want to have the color of the number change depending upon the color of the preceeding number.

So if I enter in $222 as the first number and I type in $232 in the next cell, I want for excel to automatically make the next number in green (or red, depending on the value).

Thanks for any help.

Discussion is locked
You are posting a reply to: Office Excel 2007 #Value
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Office Excel 2007 #Value
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: excel formula and formatting
by Kees Bakker / August 16, 2006 4:37 AM PDT

#1 is basic indeed:
=cell_with_current_value/cell_with_initial_value
(example: =b2/$b$1)
You'll see the effect of the absolute address (with $$) if you drag this formula down to b3 and below with the copy handle.

#2 is a little bit more difficult. I don't have Office 2007 (or even 2003), so I'll give you the term to look for in the Help: conditional formatting, with a formula as criterion.
For example: I can define a conditional format for B4, with the following contents:
if =b4<b3 then red
if =b4=b3 then black
if =b4>b3 then green
And this also can be dragged down.

Hope this helps.

Kees

Collapse -
I agree
by MarkFlax Forum moderator / August 16, 2006 4:43 AM PDT

That's the way I would approach both problems.

Mark

Collapse -
re:
by tdawg73 / January 4, 2007 1:10 AM PST

Thanks for all the suggestions. really helpful!

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?