ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Fixed Value (https://www.excelbanter.com/new-users-excel/42929-fixed-value.html)

Brian P

Fixed Value
 
How do I create a fixed value used in a number of different calcualtions?
For example I want to count the occurances of an item and multiply times a
fixed value known as cost?

Peo Sjoblom

=COUNTIF(A2:A100,"item")*Cost

--
Regards,

Peo Sjoblom

(No private emails please)


"Brian P" <Brian wrote in message
...
How do I create a fixed value used in a number of different calcualtions?
For example I want to count the occurances of an item and multiply times a
fixed value known as cost?



Gary's Student

Yes. Let's put $2.30 in cell A1.

Click on A1 and pulldown:

Insert Name... Define then enter cost in the name field and click Add.

at this point you can use cost as a variable name in your worksheet. For
example you can enter

=123*cost

in cell C34 and cost will be taken from A1
--
Gary's Student


"Brian P" wrote:

How do I create a fixed value used in a number of different calcualtions?
For example I want to count the occurances of an item and multiply times a
fixed value known as cost?



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com