+ Reply to Thread
Results 1 to 10 of 10

Refrence to the cell receives "#VALUE!"

  1. #1
    Registered User
    Join Date
    05-02-2015
    Location
    Czech Republic
    MS-Off Ver
    2013
    Posts
    28

    Refrence to the cell receives "#VALUE!"

    Hello,

    I am obtaining exchange rate for my currency pair (USD/CZK) from Yahoo via additionally written function.
    Sice the function works well thanks to JasperD and skywritter, I can't operate with it by reference.
    I mean, when I eneter into cell "=150/C5" where C5 is a value of exchange rate it receives "#VALUE!".
    Does somebody know how to make it works, please?
    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Refrence to the cell receives "#VALUE!"

    Hi Jirakst
    May be there is a text in C5
    So to avoid error try
    Please Login or Register  to view this content.
    Attach you UDF Function ..It must treat Currency as text
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,974

    Re: Refrence to the cell receives "#VALUE!"

    Can you attach an Excel sheet?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    05-02-2015
    Location
    Czech Republic
    MS-Off Ver
    2013
    Posts
    28

    Re: Refrence to the cell receives "#VALUE!"

    Thank you YasserKhalil and Glenn Kennedy.
    I have attached the sheet below, hope it will be usefull.
    The issue is related to cell H3 and T column.
    Trade Journal.xlsm
    Last edited by jirakst; 05-10-2015 at 11:23 AM. Reason: typo

  5. #5
    Registered User
    Join Date
    05-02-2015
    Location
    Czech Republic
    MS-Off Ver
    2013
    Posts
    28

    Re: Refrence to the cell receives "#VALUE!"

    Nobody knows?
    Any help will be appreciate.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,974

    Re: Refrence to the cell receives "#VALUE!"

    Blast! I just lost my detailed reply. Anyhow. Several problems. Your data feed was returning text that I couldn't see how to convert back to a number. I have created an alternative (CTRL ALT F5 to refresh) and have extracted the rate (as a number) from the returned string (Sheet1). Your formulae in T were not locked on the cell reference of the exchnge rate, so the formulae returned nonsense as you copied down. Finally, T was formatted as date - now formaated appropriately.
    Attached Files Attached Files

  7. #7
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Refrence to the cell receives "#VALUE!"

    Change this line in the function:
    Please Login or Register  to view this content.
    to this:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,974

    Re: Refrence to the cell receives "#VALUE!"

    I know nothing about VBA - so thanks - romperstomper....

  9. #9
    Registered User
    Join Date
    05-02-2015
    Location
    Czech Republic
    MS-Off Ver
    2013
    Posts
    28

    Re: Refrence to the cell receives "#VALUE!"

    Thank you both very much. It works nice now and I'm being enjoyed to learn something new about excel. Thanks!

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,974

    Re: Refrence to the cell receives "#VALUE!"

    Glad to have helped! If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. It'd also be appreciated if you were to click the add Reputation button at the foot of any of the posts of those who helped you reach a solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] If "Yes" Selected from Dropdown, Adjacent Column receives a Timestamp
    By Deano30 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2015, 12:55 AM
  2. [SOLVED] VBA help needed to remove all "/" then replace with "-" from cell "B3"and "B5"
    By krjoshi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-17-2014, 02:11 PM
  3. [SOLVED] If there is any text in column "A$" on "sheet1" then move cell to column "A$" on "sheet2"
    By ckgeary in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-27-2013, 08:28 PM
  4. MS Excel receives "1/0/1900 0:00" from a query - how can this be fixed?
    By TiSR in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-20-2012, 04:06 PM
  5. Replies: 3
    Last Post: 09-20-2011, 07:37 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1