LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
DP DP is offline
external usenet poster
 
Posts: 58
Default Can I combine 2 formulas?

With Col A&B blank, I have the following in column C
AL FEE
AM SERVICE
B SERVICE
C SERVICE

I need to use the letter(s) preceeding fee/service in a vlookup formula
So my formula in cell a2 =trim(left(c2,2)) will give me just the letter(s)

The array for lookup is in cells F2:G63
So my formula in cell b2 =vlookup(a2,$F$2:$G$63,2,false)

I wind up with this:
ColA ColB ColC
AL 6 AL Fee
AM 6 AM Service
B 1 B Service
C 2 C Service

Can I combine these two formulas in one cell so it will find the letter(s),
then lookup the code? I later use the numeric codes to sort and get
subtotals.
Hope this make sense.
dp

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combine 2 formulas Ken Excel Worksheet Functions 5 September 5th 08 10:33 AM
Combine Formulas Dennis1188 Excel Discussion (Misc queries) 5 March 5th 07 09:34 PM
how to combine formulas to......... gmisi Excel Worksheet Functions 5 January 13th 07 08:47 PM
Combine 2 formulas Steved Excel Worksheet Functions 3 August 8th 05 10:09 PM
Help combine 2 formulas into 1 Robert Excel Worksheet Functions 5 April 1st 05 08:55 AM


All times are GMT +1. The time now is 08:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"