+ Reply to Thread
Results 1 to 2 of 2

trading journal<<< Additional criteria for existing formula

  1. #1
    Registered User
    Join Date
    03-25-2020
    Location
    MALDIVES
    MS-Off Ver
    2013
    Posts
    2

    trading journal<<< Additional criteria for existing formula

    i want to combine the two formula into one formula... this formula calculate forex pips, but there different pairs with different decimal points,

    =(M8-J8)*LOOKUP(I8,{"LONG","SHORT"},{1,-1})*1000
    =(M8-J8)*LOOKUP(I8,{"LONG","SHORT"},{1,-1})*100


    for an example i want to add currency pair name's( EURUSD, GBPUSD) to this formula so when i write the pair name this formula works for that currency pair
    =(M8-J8)*LOOKUP(I8,{"LONG","SHORT"},{1,-1})*1000

    and when i wright Yen pairs (USDJPY, GBPJPY) i want this formula to work
    =(M8-J8)*LOOKUP(I8,{"LONG","SHORT"},{1,-1})*100

    the point is i want the answer on the same column
    more details attached
    Attached Files Attached Files
    Last edited by TYTWEN; 03-26-2020 at 12:42 PM.

  2. #2
    Forum Moderator Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    10,265

    Re: trading journal<<< Additional criteria for existing formula

    Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    You really don't have to give me rep points for moderating. It's part of the job. Keep rep points for those who find solutions

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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