Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

Format Currency in-cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lyners - 24 Sep 2007 17:50 GMT
I have a need to format cells as currency, but have to do it in-cell. This is
just like =DOLLAR() except I need it to be a currency so that it can be
summed. I have tried a lot of different steps, but cannot get the cell to
format like currency without turning it into text. I have to do this in-cell.
I cannot use format->cell->currency.

Any help is appreciated.

Thank you.
JE McGimpsey - 24 Sep 2007 18:04 GMT
If the value is a number, so that it can be summed, it will be displayed
in accordance with the cell's display format (e.g.,
Format/Cell/Currency).

OTOH, you can coerce Text values (e.g., the result of DOLLAR()) to
numbers in your Sum function. For instance, if your Text values are in
B1:B15, array-enter (CTRL-SHIFT-ENTER or CMD-RETURN):

   =SUM(--B1:B15)

> I have a need to format cells as currency, but have to do it in-cell. This is
> just like =DOLLAR() except I need it to be a currency so that it can be
> summed. I have tried a lot of different steps, but cannot get the cell to
> format like currency without turning it into text. I have to do this in-cell.
> I cannot use format->cell->currency.
Lyners - 24 Sep 2007 18:22 GMT
Hi JE,
What if my cell that I summing looks like this:

=SUMIF(E1:INDIRECT(ADDRESS(ROW()-1,5)),"Revenues",F1:INDIRECT(ADDRESS(ROW()-1,6)))-SUMIF(F1:INDIRECT(ADDRESS(ROW()-1,5)),"Expenditures",F1:INDIRECT(ADDRESS(ROW()-1,6)))

Do I put "--" in front of the F1?

My Revenues and Expenditures Cells look like this:

=DOLLAR(SUMIF(D3:INDIRECT(ADDRESS(ROW()-1,4)),"",F3:INDIRECT(ADDRESS(ROW()-1,6))))

I want to sum up the values so that they look like currency. I am doing this
through a third party datagrid and that is why I have to use formulas to
format the cell.

Is there a way to do this?

Thank you

> If the value is a number, so that it can be summed, it will be displayed
> in accordance with the cell's display format (e.g.,
[quoted text clipped - 11 lines]
> > format like currency without turning it into text. I have to do this in-cell.
> > I cannot use format->cell->currency.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.