Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Add the actual value in a cell that contains a formula

Hello All... What function would I use to add the actual value in a cell that
contains a formula?

Example given below:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell

How would I go about adding the values generated? in this case "500"


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Add the actual value in a cell that contains a formula

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell


No, the value of the cell is a *TEXT* number 500. You probably want to
remove all those quotes:

=IF(I2=1,500,IF(I2=2,1000,IF(I2=3,1500,0)))

Now the cell contains the *NUMERIC* number 500.

Now your addition operation should work.

If that's a "real" formula and the only possible values for I2 are 0 (or
empty), 1, 2 or 3 then this will do the same thing:

=I2*500


--
Biff
Microsoft Excel MVP


"Alicia from Ft Lauderdale" <Alicia from Ft
wrote in message
...
Hello All... What function would I use to add the actual value in a cell
that
contains a formula?

Example given below:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell

How would I go about adding the values generated? in this case "500"




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Add the actual value in a cell that contains a formula

It worked. Thank you.. Thank You... Thank You. Alicia

"T. Valko" wrote:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell


No, the value of the cell is a *TEXT* number 500. You probably want to
remove all those quotes:

=IF(I2=1,500,IF(I2=2,1000,IF(I2=3,1500,0)))

Now the cell contains the *NUMERIC* number 500.

Now your addition operation should work.

If that's a "real" formula and the only possible values for I2 are 0 (or
empty), 1, 2 or 3 then this will do the same thing:

=I2*500


--
Biff
Microsoft Excel MVP


"Alicia from Ft Lauderdale" <Alicia from Ft
wrote in message
...
Hello All... What function would I use to add the actual value in a cell
that
contains a formula?

Example given below:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell

How would I go about adding the values generated? in this case "500"





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Add the actual value in a cell that contains a formula

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Alicia from Ft Lauderdale"
m wrote in message
...
It worked. Thank you.. Thank You... Thank You. Alicia

"T. Valko" wrote:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell


No, the value of the cell is a *TEXT* number 500. You probably want to
remove all those quotes:

=IF(I2=1,500,IF(I2=2,1000,IF(I2=3,1500,0)))

Now the cell contains the *NUMERIC* number 500.

Now your addition operation should work.

If that's a "real" formula and the only possible values for I2 are 0 (or
empty), 1, 2 or 3 then this will do the same thing:

=I2*500


--
Biff
Microsoft Excel MVP


"Alicia from Ft Lauderdale" <Alicia from Ft
wrote in message
...
Hello All... What function would I use to add the actual value in a
cell
that
contains a formula?

Example given below:

Cell k2 contains =IF(I2=1,"500",IF(I2=2,"1000",IF(I2=3,"1500",0)))
Numerical Value is 500 in this cell

How would I go about adding the values generated? in this case "500"







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
Changing Cell contents from formula to the actual result [email protected] Excel Discussion (Misc queries) 2 January 10th 08 07:10 PM
Formula results to actual value Jeff[_4_] Excel Discussion (Misc queries) 3 November 23rd 07 08:00 PM
Switching Between Showing Formula Or Actual Result In A Cell ? Robert11 New Users to Excel 4 December 29th 06 02:53 PM
what is the 1 minus in this formula actual doing Kim Shelton at PDC Excel Worksheet Functions 2 November 21st 06 05:08 PM
formula for month(s) prior to actual braadi Excel Worksheet Functions 4 December 7th 05 05:00 PM


All times are GMT +1. The time now is 12:53 AM.

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"