PC Review


Reply
Thread Tools Rate Thread

cell calculation problem

 
 
hamstring
Guest
Posts: n/a
 
      26th Sep 2005
I need to perform a calculation on a cell, that is dependant on the
text value in another cell.

Its easy to do as part of visual basic. But can do the same as part
of a cell calculation ??

Something like,

If cell A1 = "abc" then cell A2 = cell a12 * 1.05
 
Reply With Quote
 
 
 
 
Chip Pearson
Guest
Posts: n/a
 
      26th Sep 2005
Try the following in cell A2.

=IF(A1="abc",A12*1.05,FALSE)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com





"hamstring" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I need to perform a calculation on a cell, that is dependant on
>the
> text value in another cell.
>
> Its easy to do as part of visual basic. But can do the same as
> part
> of a cell calculation ??
>
> Something like,
>
> If cell A1 = "abc" then cell A2 = cell a12 * 1.05



 
Reply With Quote
 
hamstring
Guest
Posts: n/a
 
      27th Sep 2005
Many thanks - works a treat

>Try the following in cell A2.
>
>=IF(A1="abc",A12*1.05,FALSE)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto calculation on the same cell without a helper cell? cpliu Microsoft Excel Discussion 3 27th Jan 2010 11:49 PM
Row Manipulation / duplicate dependant on cell value... and perform calculation on another cell... Brian Microsoft Excel Programming 3 15th Aug 2006 02:10 PM
skip cell if blank go on to use another cell in calculation sosborne Microsoft Excel Programming 0 8th Mar 2006 09:33 PM
How do I exclude a cell from an average calculation when the cell. =?Utf-8?B?U2Ft?= Microsoft Excel Misc 1 7th Sep 2005 05:16 PM
Use cell in calculation only if offset cell contains data Jonnie Microsoft Excel Programming 0 12th Jan 2004 08:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:05 PM.