Solved

left function

Posted on 2011-03-17
6
169 Views
Last Modified: 2012-05-11
Hi,

Attached i have a ss

Go to sheet "Cash Nostro"

You can see where my formula lets me down, ive highlighted in red.

It is due to the length of the user name

I need a solution for this but im not 100% sure what to do and am looking for suggestions

Thanks
Seamus
Call-Latest-File.xls
0
Comment
Question by:Seamus2626
6 Comments
 
LVL 85

Accepted Solution

by:
Rory Archibald earned 300 total points
ID: 35156289
I'd suggest you sort out however you parse the data into columns in the first place. :)
0
 
LVL 12

Assisted Solution

by:telyni19
telyni19 earned 200 total points
ID: 35157577
It looks like you're pulling the first eight characters, whatever they are, into the first column. You probably need to split it out up to the first space instead. I looked through the code a bit and didn't see where you were getting the data though.
0
 
LVL 8

Expert Comment

by:wchh
ID: 35161481
Try Formula below:
=IF(D27="No",IF(ISERROR(DAY(C27)),IF(ISERROR(SEARCH("t ",C27)),DATEVALUE(CONCATENATE(RIGHT(B27,LEN(B27)-SEARCH("t ",B27)-4),C27)),DATEVALUE(MID(C27,SEARCH("t ",C27)+2,LEN(C27)-SEARCH("t ",C27)))),C27),"")
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 8

Expert Comment

by:wchh
ID: 35161487
Make sure that your computer date format is 'dd/mm/yyyy'
0
 
LVL 8

Expert Comment

by:wchh
ID: 35161519
Try Formula below fot time column:
=IF(D27="No",IF(ISERROR(DAY(C27)),IF(ISERROR(SEARCH("t ",C27)),TIMEVALUE(CONCATENATE(RIGHT(B27,LEN(B27)-SEARCH("t ",B27)-4),C27)),TIMEVALUE(MID(C27,SEARCH("t ",C27)+2,LEN(C27)-SEARCH("t ",C27)))),C27),"")
0
 

Author Closing Comment

by:Seamus2626
ID: 35206066
The formulas didnt work guys

Thanks
Seamus
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
question about excel functionality 3 32
VBA modules import 4 57
Automating an Excel Template using VBA and Outlook 8 25
Index Match Formula VBA 6 19
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question