+ Reply to Thread
Results 1 to 8 of 8

Why is my formula returning an error?

  1. #1
    Registered User
    Join Date
    10-02-2022
    Location
    London, England
    MS-Off Ver
    2019
    Posts
    2

    Exclamation Why is my formula returning an error?

    So I have to combine two halves of a UK postcode (format ##a #aa) from columns B:J (which column they are in is different depending on the row) & I have decided on a formula I can apply column by column to eventually get them all. (There is non-numerical values in other columns you see)

    I've started by pulling through the values from column J into a new column like so:
    =IF(ISNUMBER(VALUE(LEFT(J62,1))),J62,"")

    So now I am trying to concatenate the values in the new column (K) with the values in I if they meet the criteria to start working back, like so:

    =IF(OR(ISNUMBER(VALUE(LEFT(J62,1))),(ISNUMBER(VALUE(RIGHT(J62,1))),K62&I62,"")))

    Please please help, where am I going wrong?
    Last edited by AliGW; 10-03-2022 at 04:06 AM. Reason: Urgency removed from title.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Urgent! Why is my formula returning an error?

    Hi and welcome

    This will be much easier to understand, and help, if we can see the problem in context. Could you attach a sample workbook and show us what your expected outcome is?

    Your formula doesn't even let me enter it without an error message, let alone an in cell error.

    Perhaps this is what you're trying to do?
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    BSB

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: Urgent! Why is my formula returning an error?

    I"m not a formula expert but I can tell you from personal experience that the evaluate formula tool included with Excel has helped me with problems I thought were complicated but turned out to be something simple.
    https://support.microsoft.com/en-us/...6-a70aa409b8a7
    Last edited by skywriter; 10-02-2022 at 04:52 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  4. #4
    Registered User
    Join Date
    10-02-2022
    Location
    London, England
    MS-Off Ver
    2019
    Posts
    2
    Unfortunately the worksheet contains GDPR protected data; I will try this formula but I?m not able to see what?s different, many thanks in any case
    Last edited by AliGW; 10-03-2022 at 04:08 AM. Reason: Please DON'T quote unnecessarily!

  5. #5
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Urgent! Why is my formula returning an error?

    Don't know what do you want to do, but please try

    =IF(IFERROR(FIND(LEFT(J62,1),"0123456789"),0)+IFERROR(FIND(RIGHT(J62,1),"0123456789"),0)>0,K62&I62,"")

    Regards.

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Urgent! Why is my formula returning an error?

    try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    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
    44,023

    Re: Urgent! Why is my formula returning an error?

    If none of those work, we need a small sample sheet. Not real data... mock something up. It'll only take you a few seconds. Read the yellow banner (top)
    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

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Why is my formula returning an error?

    Whilst I understand that you may be in a bit of a panic, don't tell us that it is urgent, please. All your helpers here are volunteers giving freely of their own time: you haven't paid a penny for any assistance you get here, therefore expecting any form of speed response or preferential treatment, or seeming to, is inappropriate.

    Thank you for your understanding. I have removed the urgency notice from your thread title.

    Moderator
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Formula error: YEAR & ISO Functions Returning Error
    By zsolt_g in forum Excel General
    Replies: 4
    Last Post: 12-06-2021, 07:31 AM
  2. IF formula returning error
    By chrisellis250 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-16-2019, 12:54 PM
  3. Formula not returning correct result. Formatting error or formula error?
    By Yonex1975 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-31-2019, 02:38 PM
  4. [SOLVED] Formula returning Value error
    By Mile029 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-12-2016, 02:37 PM
  5. Replies: 1
    Last Post: 09-04-2014, 07:10 PM
  6. formula returning value error
    By keith6292 in forum Excel General
    Replies: 4
    Last Post: 03-12-2010, 06:35 PM
  7. *Urgent* vlookup returning multiple columns
    By benj in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-04-2005, 02:28 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