format as currency


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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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:

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

pdvsaProject financeAuthor Commented:
pdvsaProject financeAuthor Commented:
I need the G1 to be formatted as currency.  
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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


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

zorvek (Kevin Jones)ConsultantCommented:

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

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?
pdvsaProject financeAuthor Commented:
both ways did..
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")

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.  
pdvsaProject financeAuthor Commented:
disregard the second pivot chart below the first...
zorvek (Kevin Jones)ConsultantCommented:

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


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..
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.