Solved

Multiple array formula

Posted on 2016-07-25
2
22 Views
Last Modified: 2016-07-25
HI Guys
Hope you can help as I’m having an issue with coming up with a multiple array formula for my predicament

In the attached spreadsheet, Sheet 1 has been set up so downloaded data can be pasted in and fill columns A to FA – the data can fill from 2 to 5000 rows depending the size of the invoice information for that particular week.

In Column AW (starting from cell AW2), when the data is pasted in to the sheet, there is a reference beginning with ULO. The report pasted into sheet 2 from our internal system dictates whether this ULO reference / order is a mail order or a trade order. If it is blank, then it is assigned a Returns label.

This works fine however, when there is NO data in the template, in column FB (starting at FB2), the formula currently says that if column AW has no data or blank, then return the result as Returns.

For development purposes, I need a formula in Column FB (starting in cell FB2) that says – and apologies as I have had to write this literally:-
If Cell A1=”” then FB2=”” (before data is pasted) however, if A1<>”” and AW2=”” (after data is pasted) then the result is “Returns” in addition to the Vlookup formula distinguishing the remaining references as mail order or trade (see formula in cell FB2).

Is this possible to write in a single formula?

If so, I would be very grateful – your assistance is appreciated as always

J
EE_Example.xls
0
Comment
Question by:spicecave
2 Comments
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41727659
Hi,

pls try
=IF(A1<>"",IF(TRIM(AW2)="","RETURNS",VLOOKUP(AW2,Sheet2!$A$1:$C$65535,3,FALSE)),"")

Open in new window

Regards
0
 

Author Closing Comment

by:spicecave
ID: 41727666
Amazing !!

Thank you so much for your help
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now