LOGO
General Discussion Undecided where to post - do it here.

Reply to Thread New Thread
Old 04-02-2007, 10:18 PM   #1
diegogo

Join Date
Oct 2005
Posts
448
Senior Member
Default Excel Help
Don't know that it has those kinds of formatting conditions. Probably your best bet is to do it the stupid way. So your A column would be amount, B column would be currency, C would be exchange rate to shekels, D would be amount in shekels, etc.

Added bonus is that this is database import-friendly and doesn't lend itself to inadvertently getting figures losing currency context due to formatting changes (happens surprisingly frequently in my line of work). Anybody gives you grief on doing it the stupid way, just say that you're planning ahead.

Good luck.
diegogo is offline


Old 04-02-2007, 11:04 PM   #2
Idorsearogele

Join Date
Nov 2005
Posts
435
Senior Member
Default
if you upload the excel I could probably solve it.

it is hard for me to think outside of excel context.
Idorsearogele is offline


Old 04-02-2007, 11:24 PM   #3
ORDERCHEAPVIAGRASOFTWARE

Join Date
Nov 2005
Posts
437
Senior Member
Default
try the function "Cell"

info type is "format"

should return a code that differs for different currencies. Then you can take it from there.

and have a "zissen pesach."
ORDERCHEAPVIAGRASOFTWARE is offline


Old 04-02-2007, 11:33 PM   #4
DagoIgnog

Join Date
Oct 2005
Posts
559
Senior Member
Default
cell(info_type, reference) will return format information, but it won't return which currency, sorry. AFAICT the function doesn't exist.
DagoIgnog is offline


Old 04-02-2007, 11:40 PM   #5
ziIReIGS

Join Date
Oct 2005
Posts
385
Senior Member
Default
Originally posted by Kuciwalker
cell(info_type, reference) will return format information, but it won't return which currency, sorry. AFAICT the function doesn't exist.
I just tried it, using some cells formatted as currency dollars, and some as currency euros. It returns different values, because Excel thinks those are different formats.
ziIReIGS is offline


Old 04-02-2007, 11:42 PM   #6
mr.memo

Join Date
Oct 2005
Age
40
Posts
370
Senior Member
Default
Originally posted by Kuciwalker
It didn't for me, using USD and GBP. I actually used USD (with a dollar sign) and French (Belgian - dont ask me why) with a euro sign. I guess if you only have three character alpha, rather than a currency sign, Excel thinks its the same format.

Which seems odd.
mr.memo is offline


Old 04-02-2007, 11:48 PM   #7
spacecrafty

Join Date
Nov 2005
Posts
544
Senior Member
Default
I noticed that too.
spacecrafty is offline



Reply to Thread New Thread

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

All times are GMT +1. The time now is 11:55 PM.
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2
Design & Developed by Amodity.com
Copyright© Amodity