You are here:

Excel/Problem in returning values


QUESTION: Hi Gulshan, I have two tables
Table A          Table B      
name   date   <= 48 hours   > 48 hours      name   date   Amount
tom   23-07-13 18:30          tom   24-07-13 18:30   6000
tim   23-07-13 18:30          tim   24-07-13 18:30   4000
sam   23-07-13 18:30          sam   24-07-13 18:30   400
         tom   24-07-13 18:30   2000
         sam   24-07-13 18:30   500
         tim   24-07-13 18:30   1000
         tom   24-07-13 18:30   6000
         tim   31-08-13 18:30   4000
         sam   01-09-13 18:30   400
         tom   02-09-13 18:30   2000
         sam   03-09-13 18:30   500
         tim   04-09-13 18:30   1000

I want to return the total amount in table A under the TAT head, corresponding to the TAT's of Table 2. Can you please help


ANSWER: Hi Tapash,

Can you send me a screenshot of your file. Reading it from the question is a bit difficult.


[an error occurred while processing this directive]---------- FOLLOW-UP ----------

Incentive against TAT achieved
Incentive against TAT  
QUESTION: Hi Gulshan,
Attaching the screen shot. Please help in solving the same.


Hi Tapash,

I'm still a bit unclear about your question. You mentioned TAT in your question, but I can't see the heading in excel screenshots.

I'm assuming the solution should be populated in columns C & D. If yes, can you please send me the values to be populated in C4 to D7 and the logic for those values so I can create the necessary formula.

About Excel
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here


All Answers

Answers by Expert:

Ask Experts




I can answer questions related to the following topics: 1. MS Excel - Creating and Linking Formulae, Running Pivot Tables, Vlookup etc. 2. Macros / VBA - Creating Macros to do specific jobs. Importing / Exporting / Validating Data in excel through Macros.


I've been working on excel for over 10 years and on VBA macros for over 3 years now.

Bachelor of Commerce, Chartered Accountant from The Institute of Chartered Accountants of India

©2017 All rights reserved.

[an error occurred while processing this directive]