format as currency

Experts,

I have a pivot table with a text box referring to a cell outside of the pivot table with the following:
="Available Now " & GETPIVOTDATA("Available",$A$1)

I need to format it as currency and no decimals.

I thought I could do something like this:
="Available Now " & format(GETPIVOTDATA("Available",$A$1),"Currency") but it returns an error.

any ideas?  thanks...
pdvsaProject financeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zorvek (Kevin Jones)ConsultantCommented:
Try:

="Available Now " & Format(GETPIVOTDATA("Available",$A$1),"$#,##0.00")

Kevin
0
pdvsaProject financeAuthor Commented:
currency
0
pdvsaProject financeAuthor Commented:
I need the G1 to be formatted as currency.  
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

zorvek (Kevin Jones)ConsultantCommented:
The GETPIVOTDATA might be a string.

Try:

="Available Now " & Format(CDbl(GETPIVOTDATA("Available",$A$1)),"Currency")

Kevin
0
zorvek (Kevin Jones)ConsultantCommented:
Correction:


="Available Now " & Format(Value(GETPIVOTDATA("Available",$A$1)),"Currency")

Kevin
0
pdvsaProject financeAuthor Commented:
Kevin:  it gave me a #Name.  I am thinking it has something to do with the "Available".

What do you think now?
0
pdvsaProject financeAuthor Commented:
both ways did..
0
zorvek (Kevin Jones)ConsultantCommented:
Are we in VBA or a formula?

If a formula then:

="Available Now " & TEXT(VALUE(GETPIVOTDATA("Available",$A$1)),"Currency")

If VBA then:

X="Available Now " & Format(Value(GETPIVOTDATA("Available",$A$1)),"Currency")

Kevin
0
pdvsaProject financeAuthor Commented:
Kevin:  I dont know what is wrong but with the TEXT it is giving a #value.

Maybe you can see what I am referring to.  I  think that if you see it then it will more clear as to a solution.

thank you

Please see attachement cell G1.  
Export-db-FacAvailMnth.xlsx
0
pdvsaProject financeAuthor Commented:
disregard the second pivot chart below the first...
0
zorvek (Kevin Jones)ConsultantCommented:
Use:

="Total Available in Dec 2012 " & TEXT(GETPIVOTDATA("Available In Dec 2012",$A$14),"$#,##0.00")

Kevin
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pdvsaProject financeAuthor Commented:
you are good.  thank you sir..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.