+ Reply to Thread
Results 1 to 2 of 2

display 1 value when 2 strings are the same, in a cell

  1. #1
    Registered User
    Join Date
    10-17-2016
    Location
    minnesota
    MS-Off Ver
    2010
    Posts
    12

    display 1 value when 2 strings are the same, in a cell

    *** Figured it out already thanks anyway***






    Is there a way to make something like

    A1 = B2*B3 & " / " & (B2^2)/B4 & " / " & (B3^2)*B4

    show 1200 instead of 1200 / 1200 / 1200 for example?

    In my scenario, B1, B2, B3, and B4 are all (functions?) of each other so if I know 2 of those values, I can figure out the other 2. (meaning they will always give A1 the same value for X / X / X in my example)

    ---------------
    different way to explain it just in case:

    A1= B1 (and is also equal to) B2*B3 (and is also equal to) (B2^2)/B4 (and is also equal to) (B3^2)*B4
    A2= B2
    A3= B3
    A4= B4

    and give the number depending on which formula has the 2 values in order to solve for A1

    I think i am making this more confusing than it needs to be, but thanks for the help
    Last edited by davidbananas999; 10-23-2016 at 11:53 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: display 1 value when 2 strings are the same, in a cell

    David, this thread is marked as SOLVED. Is that the case, and if so, can you share the answer? If not, mark ut UNsolved, or ask me (or a mod) to change it for you
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] Macro to check the cell value and display the strings in another column
    By Mitiraj in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-26-2016, 10:34 AM
  2. Macro to Delete only Alpha Strings but not Alphanumeric or Numeric Strings in a Cell
    By papageorgio in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-19-2016, 06:55 AM
  3. VBA to compare two text strings and display diffeence
    By Me_in_va in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2015, 03:21 PM
  4. display Row# where Highlighted strings Start/End, using Min/Max Criteria
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-18-2014, 02:01 PM
  5. [SOLVED] Format individual strings out of multiple strings within a cell with VBA
    By jrtraylor in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-18-2013, 07:33 PM
  6. Replies: 3
    Last Post: 05-28-2011, 01:43 PM
  7. Replies: 2
    Last Post: 12-18-2009, 10:59 AM

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